mac80211: don't try to do anything on unchanged genIE
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 19 May 2009 20:16:25 +0000 (22:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 May 2009 18:46:35 +0000 (14:46 -0400)
commit175427ce40bd5a3f973a76c46502875f0eed877c
tree98e49b3847948e83fafe5cacf69b6ed34891c212
parentce4c45e099a81b2bc820b6e145aa9058c5acf0bd
mac80211: don't try to do anything on unchanged genIE

When the genIE hasn't changed there's no reason to kick
the state machine since it won't be able to do anything
new -- doing this decreases the useless work we do for
reassociating because if we do kick the state machine
it will try to find a usable BSS but there might not be
one because wpa_supplicant will only change the BSSID
a little later.

In a sense this is a workaround for userspace behaviour,
but on the other hand userspace cannot really keep track
of what the kernel currently has for genIE since any
process could have changed that while wpa_supplicant
wasn't looking.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c
net/mac80211/wext.c