Johannes Berg b054b747a6 mac80211: fix deauth before assoc
When we receive a deauthentication frame before
having successfully associated, we neither print
a message nor abort assocation. The former makes
it hard to debug, while the latter later causes
a warning in cfg80211 when, as will typically be
the case, association timed out.

This warning was reported by many, e.g. in
https://bugzilla.kernel.org/show_bug.cgi?id=15981,
but I couldn't initially pinpoint it. I verified
the fix by hacking hostapd to send a deauth frame
instead of an association response.

Cc: stable@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Tested-by: Miles Lane <miles.lane@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-06-08 14:41:54 -04:00
..
2010-04-23 14:43:45 -04:00
2010-06-01 14:33:02 -04:00
2010-05-28 13:41:27 -04:00
2009-07-10 15:01:49 -04:00
2010-04-08 15:24:13 -04:00
2010-05-24 14:59:27 -04:00
2010-06-08 14:41:54 -04:00
2010-05-07 14:55:49 -04:00
2009-07-24 15:05:09 -04:00
2010-01-05 16:21:40 -05:00