diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-09-16 18:04:26 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-09-16 22:21:00 +0200 |
commit | bbac31f4c0339f6c51afbd0edfb4959df9b53fa9 (patch) | |
tree | 50764245ec0b1a3ca2e25f43bdbe5d674ec0258e /net/rxrpc | |
parent | rc80211_minstrel: fix contention window calculation (diff) | |
download | linux-bbac31f4c0339f6c51afbd0edfb4959df9b53fa9.tar.xz linux-bbac31f4c0339f6c51afbd0edfb4959df9b53fa9.zip |
cfg80211: fix SME connect
There's a check saying
/* we're good if we have both BSSID and channel */
if (wdev->conn->params.bssid && wdev->conn->params.channel) {
but that isn't true -- we need the BSS struct. This leads
to errors such as
Trying to associate with 00:1b:53:11:dc:40 (SSID='TEST' freq=2412 MHz)
ioctl[SIOCSIWFREQ]: No such file or directory
ioctl[SIOCSIWESSID]: No such file or directory
Association request to the driver failed
Associated with 00:1b:53:11:dc:40
in wpa_supplicant, as reported by Holger.
Instead, we really need to have the BSS struct, and if we
don't, then we need to initiate a scan for it. But we may
already have the BSS struct here, so hang on to it if we
do and scan if we don't.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Tested-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions