original_kernel/net/wireless
Johannes Berg bbac31f4c0 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>
2009-09-16 16:21:00 -04:00
..
Kconfig wireless: update cfg80211 kconfig entry 2009-09-08 16:31:06 -04:00
Makefile
chan.c
core.c cfg80211: clean up properly on interface type change 2009-08-28 14:40:31 -04:00
core.h cfg80211: clean up properly on interface type change 2009-08-28 14:40:31 -04:00
debugfs.c
debugfs.h
ibss.c
lib80211.c
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
mlme.c
nl80211.c nl80211: jump to out_err upon unsupported iftype 2009-08-28 14:40:41 -04:00
nl80211.h
radiotap.c
reg.c
reg.h
scan.c cfg80211: minimal error handling for wext-compat freq scanning 2009-09-14 14:36:04 -04:00
sme.c cfg80211: fix SME connect 2009-09-16 16:21:00 -04:00
sysfs.c
sysfs.h
util.c cfg80211: clean up properly on interface type change 2009-08-28 14:40:31 -04:00
wext-compat.c cfg80211: clean up properly on interface type change 2009-08-28 14:40:31 -04:00
wext-compat.h
wext-sme.c
wext.c