]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: wlan-ng: Fix clamping of returned SSID length
authorTormod Volden <debian.tormod@gmail.com>
Wed, 9 Jan 2013 21:23:32 +0000 (22:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jan 2013 19:45:26 +0000 (11:45 -0800)
commitd7ddb69a53cd7c03c4c0660d13534214d2782c21
tree9359c15616d76f900a3541a873277071a346e6b4
parentf6ffcce2ef152bebaeeed0cd9fd117e23a3c46ff
staging: wlan-ng: Fix clamping of returned SSID length

commit 811a37effdb11e54e1ff1ddaa944286c88f58487 upstream.

Commit 2e254212 broke listing of available network names, since it
clamped the length of the returned SSID to WLAN_BSSID_LEN (6) instead of
WLAN_SSID_MAXLEN (32).

https://bugzilla.kernel.org/show_bug.cgi?id=52501

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2mgmt.c