wlan: Userspace data copy fix

Use copy_to_user and copy_from_user for
copying data to/from user space.

Change-Id: I07ed5361b439f4bcd61bbf693cc17c950f5b2660
CRs-Fixed: 561022
wlan:Revision 3.2.7.14

Revision 3.2.7.14

Change-Id: Icf623b7855bc98b5640b4fe49f6af72c3c6d14d0
DroidSec: Check sscanf returns in function iw_set_priv

In the two clauses "powermode" and "CONFIG-TX-TRACKING",
it should be confirmed that cmd_len is greater than amount
incrementing cmd when form ptr,and must check return from
sscanf to confirm that parameters were parsed correctly
before subsequent use.

Change-Id: I9e93c3f34b116f6fac1bd81f32956fb88cba807a
CRs-fixed: 554538
Merge "wlan: Userspace data copy fix"
Merge "wlan:Revision 3.2.7.14"
Merge "DroidSec: Check sscanf returns in function iw_set_priv"
Merge AU_LINUX_ANDROID_KK_2.7_RB1.04.04.01.007.022 on remote branch

Change-Id: I22ceea8da07e97345eb598690a200487bcdc9108
Merge "Merge AU_LINUX_ANDROID_KK_2.7_RB1.04.04.01.007.022 on remote branch"
Merge remote-tracking branch 'prima/kk_2.7_rb1.17' into cm-11.0