]> bbs.cooldavid.org Git - net-next-2.6.git/commit
cfg80211: don't optimise wext calls too much
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 16 Jul 2009 09:39:04 +0000 (11:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:21 +0000 (15:05 -0400)
commit25e83c490be421019997146bdec8645f5bcabcd1
tree61215246924f8aebcc0fd0a6fd7fc651dcc487bb
parentd4b1a6876f99ae1886cd254f649506af6692ac9f
cfg80211: don't optimise wext calls too much

In the wext code I tried to not reconnect all the time
when the user wasn't really sure what they were doing,
like setting the BSSID back to the same value it was.
However, this optimisation should only be done while
associated so that setting the BSSID back to the same
value that it was actually triggers a new association
if not currently associated. To achieve, that, put the
relevant code into the !IDLE case instead.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Tested-by: Kalle Valo <kalle.valo@iki.fi>
Tested-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/wext-sme.c