Johannes Berg a58ce43f2f mac80211: avoid spurious deauth frames/messages
With WEXT, it happens frequently that the SME
requests an authentication but then deauthenticates
right away because some new parameters came along.
Every time this happens we print a deauth message
and send a deauth frame, but both of that is rather
confusing. Avoid it by aborting the authentication
process silently, and telling cfg80211 about that.

The patch looks larger than it really is:
__cfg80211_auth_remove() is split out from
cfg80211_send_auth_timeout(), there's no new code
except __cfg80211_auth_canceled() (a one-liner) and
the mac80211 bits (7 new lines of code).

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-11-19 11:09:02 -05:00
..
2009-08-14 09:13:51 -04:00
2009-11-19 11:08:50 -05:00
2009-07-10 15:02:32 -04:00
2009-11-19 11:08:50 -05:00
2009-10-07 16:39:43 -04:00
2009-10-07 16:39:43 -04:00
2009-10-07 16:39:43 -04:00
2009-09-28 16:55:04 -04:00
2009-10-07 16:39:43 -04:00