FPII-1875:CR:930944-Improper access control on QCSAP_IOCTL_SETWPAIE (SIOCIWFIRSTPRIV + 5)

Kernel assumes all SET IOCTL commands are assigned with even
numbers. But in our WLAN driver, some SET IOCTLS are assigned with
odd numbers. This leads kernel fail to check, for some SET IOCTLs,
whether user has the right permission to do SET operation.
Hence, in driver, before processing QCSAP_IOCTL_SETWPSIE IOCTL,
making sure user task has right permission to process the command.

Change-Id: Ie1c945afb0f109892beda66bab25647d70cc62d7
CRs-Fixed: 930944
Git-commit: 2905578424256be07e6b9d8c63bb83d40cc52a71
1 file changed
tree: b2915578977abf90e956d02de1e5bc2d6d6c219d
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile