diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-06-07 23:50:07 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-08 22:41:54 +0400 |
commit | b054b747a694927879c94dd11af54d04346aed7d (patch) | |
tree | 91651e415fde622e53551286dd57279a4661e7cf /drivers/char/hw_random | |
parent | 6db6340c42d027b6364d49fa99d69019aca24de4 (diff) | |
download | linux-b054b747a694927879c94dd11af54d04346aed7d.tar.xz |
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/char/hw_random')
0 files changed, 0 insertions, 0 deletions