FPII-1873:CR:930937-Improper access control on WLAN_SET_PACKET_FILTER_PARAMS (SIOCIWFIRSTPRIV + 23)

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 SET_PACKET_FILTER IOCTL, making
sure user task has right permission to process the command.

Change-Id: Ib49c3223eacdc90dfe0d45af1aff7c74518990df
CRs-Fixed: 930937
Git-commit: 88ce639e7a0bba852f193b6f53b7ca1926a09b02
1 file changed
tree: f1914c6d10594e2590dc801650b3839b7dcb3bdd
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile