diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-06-07 21:50:07 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-08 20:41:54 +0200 |
commit | b054b747a694927879c94dd11af54d04346aed7d (patch) | |
tree | 91651e415fde622e53551286dd57279a4661e7cf /drivers/misc/enclosure.c | |
parent | iwlwifi: add missing rcu_read_lock (diff) | |
download | linux-b054b747a694927879c94dd11af54d04346aed7d.tar.xz linux-b054b747a694927879c94dd11af54d04346aed7d.zip |
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>
Diffstat (limited to 'drivers/misc/enclosure.c')
0 files changed, 0 insertions, 0 deletions