[PATCH] mac80211: Fix SSID matching in AP selection
authorMichael Wu <flamingice@sourmilk.net>
Fri, 19 Oct 2007 21:14:36 +0000 (17:14 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 26 Oct 2007 02:32:05 +0000 (22:32 -0400)
commit48225709bec68c2d8612718922f974f22214a308
tree4f11d04567fb90d5218fd8a3636ff937fb54c5b0
parentc9927c2bf4f45bb85e8b502ab3fb79ad6483c244
[PATCH] mac80211: Fix SSID matching in AP selection

The length of the SSID desired should also be compared in addition to
the memcmp of the SSIDs.

Thanks to Andrea Merello <andreamrl@tiscali.it> for finding this issue.

Signed-off-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_sta.c