mac80211: remove association work when processing deauth request
[linux-2.6-block.git] / net / mac80211 / mlme.c
index 8a9650343f264c3c8c0d030350c8ae5b9b29379c..6ccd48e180ee9c0b23b2550c731e34d4a91fcdef 100644 (file)
@@ -2029,7 +2029,8 @@ int ieee80211_mgd_deauth(struct ieee80211_sub_if_data *sdata,
                                continue;
 
                        if (wk->type != IEEE80211_WORK_DIRECT_PROBE &&
-                           wk->type != IEEE80211_WORK_AUTH)
+                           wk->type != IEEE80211_WORK_AUTH &&
+                           wk->type != IEEE80211_WORK_ASSOC)
                                continue;
 
                        if (memcmp(req->bss->bssid, wk->filter_ta, ETH_ALEN))