rtl8712: don't just return -EFAULT in wpa_supplicant_ioctl()
authorDan Carpenter <error27@gmail.com>
Sat, 6 Aug 2011 14:27:48 +0000 (07:27 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 22:16:35 +0000 (15:16 -0700)
commit5ae717139a6defae9656f743dff8388aeb94df93
tree7f210a086782c4b2d00a288eda126e7e946665dd
parent733e3ef0d364b7e6757a897e7f1862a70c89305a
rtl8712: don't just return -EFAULT in wpa_supplicant_ioctl()

There were some curly braces missing so the original code in
wpa_supplicant_ioctl() pretty much always returned -EFAULT without
doing anything.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8712/rtl871x_ioctl_linux.c