diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2017-11-25 22:32:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-28 16:36:45 +0300 |
commit | b77992d2df9e47144354d1b25328b180afa33442 (patch) | |
tree | 241c48f8ffcdf3bb217b1cd45bbd7624af905376 /drivers/staging/octeon-usb | |
parent | c5f39d07860c35e5e4c63188139465af790f86ce (diff) | |
download | linux-b77992d2df9e47144354d1b25328b180afa33442.tar.xz |
staging: rtl8188eu: Fix incorrect response to SIOCGIWESSID
When not associated with an AP, wifi device drivers should respond to the
SIOCGIWESSID ioctl with a zero-length string for the SSID, which is the
behavior expected by dhcpcd.
Currently, this driver returns an error code (-1) from the ioctl call,
which causes dhcpcd to assume that the device is not a wireless interface
and therefore it fails to work correctly with it thereafter.
This problem was reported and tested at
https://github.com/lwfinger/rtl8188eu/issues/234.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon-usb')
0 files changed, 0 insertions, 0 deletions