]> git.baikalelectronics.ru Git - kernel.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>
Fri, 18 Jan 2013 00:38:07 +0000 (16:38 -0800)
commit89d448170fc401e303916087e5588981ff78dfa0
tree318a8e1a82778bad01308062b5e1f425d64477d1
parent2241ae603a3eeac60c01d03c7f4e3c5752e92e9e
staging: wlan-ng: Fix clamping of returned SSID length

Commit 630f2a18 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>
Cc: stable <stable@vger.kernel.org> # 3.4+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2mgmt.c