cfg80211: always get BSS
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 26 Sep 2009 12:42:53 +0000 (14:42 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Sep 2009 20:55:05 +0000 (16:55 -0400)
commit8bb894859e9495a94f94af3ee4711c89cdf24a95
tree3b2c497467e390a3aaa28bfddbe4e72e3b94e4bf
parentb7a794048ff30d53764c1e41ccb2bff7f7bec2a8
cfg80211: always get BSS

Multiple problems were reported due to interaction
between wpa_supplicant and the wext compat code in
cfg80211, which appear to be due to it not getting
any bss pointer here when wpa_supplicant sets all
parameters -- do that now. We should still get the
bss after doing an extra scan, but that appears to
increase the time we need for connecting enough to
sometimes cause timeouts.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Tested-by: Hin-Tak Leung <hintak.leung@gmail.com>,
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/sme.c