summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8712/rtl871x_ioctl_set.h
diff options
context:
space:
mode:
authorAli Bahar <ali@internetdog.org>2011-09-03 19:14:24 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-07 00:00:36 (GMT)
commit2192e60654c2b91de45dce44a23723f725603ce1 (patch)
tree3c5421f4ee2859c099fccd32edef3e75a6215812 /drivers/staging/rtl8712/rtl871x_ioctl_set.h
parent5d3da4a20a271e3cf5496a50cbb8118aa019374f (diff)
downloadlinux-2192e60654c2b91de45dce44a23723f725603ce1.tar.xz
staging: r8712u: Most return-values changed from -1 to proper errno macros.
The ioctl handlers were frequently returning -1 upon failure. Most of these have now been changed to proper errno macros. The few remaining ones have been left untouched because either the handler is not called (and so cannot be tested), or the function never fails (and so cannot be system-tested), or requires new code to distinguish its failures. Signed-off-by: Ali Bahar <ali@internetDog.org> Cc: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_ioctl_set.h')
-rw-r--r--drivers/staging/rtl8712/rtl871x_ioctl_set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_set.h b/drivers/staging/rtl8712/rtl871x_ioctl_set.h
index de0a848..2c94cd1 100644
--- a/drivers/staging/rtl8712/rtl871x_ioctl_set.h
+++ b/drivers/staging/rtl8712/rtl871x_ioctl_set.h
@@ -47,7 +47,7 @@ u8 r8712_set_802_11_disassociate(struct _adapter *padapter);
u8 r8712_set_802_11_bssid_list_scan(struct _adapter *padapter);
-u8 r8712_set_802_11_infrastructure_mode(struct _adapter *padapter,
+void r8712_set_802_11_infrastructure_mode(struct _adapter *padapter,
enum NDIS_802_11_NETWORK_INFRASTRUCTURE networktype);
void r8712_set_802_11_ssid(struct _adapter *padapter,