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.
1 file changed
tree: 22eebe4c2573cb0f7746cb18268b14eb6a72574c
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig