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-09-23 22:26:32 +09:30
2009-05-25 01:53:53 -07:00
2009-11-10 22:27:13 -08:00
2009-11-18 05:03:35 -08:00
2009-09-26 20:16:15 -07:00
2009-11-07 00:46:39 -08:00
2009-11-05 22:34:18 -08:00
2009-11-17 04:15:38 -08:00
2009-07-12 12:22:34 -07:00