From: Johannes Berg Date: Thu, 19 Nov 2009 11:45:42 +0000 (+0100) Subject: mac80211: avoid spurious deauth frames/messages X-Git-Tag: v2.6.33-rc1~388^2~214^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a58ce43f2fb17b728395ff530f019ca53c80145f;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed