Files
linux/net
Johannes Berg 90c215c476 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-23 11:35:43 -04:00
..
2009-05-25 01:53:53 -07:00
2009-09-03 20:02:17 -07:00
2009-09-01 17:40:57 -07:00
2009-05-25 01:53:53 -07:00
2009-08-19 23:08:24 +04:00
2009-09-11 12:54:58 -07:00
2009-07-12 12:22:34 -07:00
2009-09-02 01:03:53 -07:00
2009-09-02 01:03:53 -07:00
2009-07-23 18:01:10 -07:00
2009-08-04 16:44:23 -04:00
2009-08-05 10:42:58 -07:00
2009-09-11 14:59:37 -04:00
2009-07-12 12:22:34 -07:00
2009-09-23 11:35:43 -04:00
2009-07-12 12:22:34 -07:00
2009-09-02 01:03:53 -07:00