Skip to content
Snippets Groups Projects
Commit e4744274 authored by Amarnath Hullur Subramanyam's avatar Amarnath Hullur Subramanyam Committed by Vineeta Srivastava
Browse files

wlan:Check priviledge permission for SET_POWER_PARAMS IOCTL


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

CRs-Fixed: 930953
Git-commit: 6665a9697b404acf4d2e7d52d9c2b19512c9b239
Bug: 25344453
Signed-off-by: default avatarAmarnath Hullur Subramanyam <amarnath@codeaurora.org>
parent e2addf5a
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment