diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-06 21:56:08 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 15:02:31 -0400 |
commit | c1e6fb1aad0d4d4f032d46b6bab093a41c6c82bf (patch) | |
tree | 7097809f88122dfe09f4185cf918862071de4402 /net/wireless/mlme.c | |
parent | cb0b4beb93d14429bf0c50fc1ab8e26348dca880 (diff) |
cfg80211: warn again on spurious deauth
The original code in mac80211 could send a deauth
frame under certain circumstances even if nothing
had ever requested an authentication. This has been
fixed with the rework there, so cfg80211 can now
warn again about spurious events to catch possible
future drivers or mac80211 regressions.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/mlme.c')
-rw-r--r-- | net/wireless/mlme.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c index f7dc7524e145..960bf60e44e5 100644 --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c | |||
@@ -122,15 +122,9 @@ void cfg80211_send_deauth(struct net_device *dev, const u8 *buf, size_t len) | |||
122 | break; | 122 | break; |
123 | } | 123 | } |
124 | } | 124 | } |
125 | /* | ||
126 | * mac80211 currently triggers this warning, | ||
127 | * so disable for now (it's harmless, just | ||
128 | * means that we got a spurious event) | ||
129 | 125 | ||
130 | WARN_ON(!done); | 126 | WARN_ON(!done); |
131 | 127 | ||
132 | */ | ||
133 | |||
134 | if (wdev->sme_state == CFG80211_SME_CONNECTED) { | 128 | if (wdev->sme_state == CFG80211_SME_CONNECTED) { |
135 | u16 reason_code; | 129 | u16 reason_code; |
136 | bool from_ap; | 130 | bool from_ap; |