commit | ddce3aa847fa0a1bf9d6223f92b6dbae003aac12 | [log] [tgz] |
---|---|---|
author | c_hpothu <c_hpothu@qti.qualcomm.com> | Thu May 08 20:30:49 2014 +0530 |
committer | Kiet Lam <c_kietl@qca.qualcomm.com> | Sat May 10 10:40:19 2014 -0700 |
tree | 22eebe4c2573cb0f7746cb18268b14eb6a72574c | |
parent | 22ebc0daf7f8630b98c9430ad85ea72f6e4c02f3 [diff] |
wlan: Fix wlan_hdd_oem.c ioctls returning invalid status An audit of ioctls revealed that the ioctl handlers in wlan_hdd_oem.c can, in some of the error cases, return invalid error codes. Make sure the ioctls return 0 on success and a negative errno value on failure. Change-Id: I2df79bec4ec06a80c1c8f98e0bc7517ea4739efc CRs-Fixed: 661500.