diff options
Diffstat (limited to 'net/mac80211/sta_info.c')
-rw-r--r-- | net/mac80211/sta_info.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index 4ba3c540fcf3..dd3593c1fd23 100644 --- a/net/mac80211/sta_info.c +++ b/net/mac80211/sta_info.c | |||
@@ -239,6 +239,11 @@ void sta_info_destroy(struct sta_info *sta) | |||
239 | tid_tx = sta->ampdu_mlme.tid_tx[i]; | 239 | tid_tx = sta->ampdu_mlme.tid_tx[i]; |
240 | if (tid_tx) { | 240 | if (tid_tx) { |
241 | del_timer_sync(&tid_tx->addba_resp_timer); | 241 | del_timer_sync(&tid_tx->addba_resp_timer); |
242 | /* | ||
243 | * STA removed while aggregation session being | ||
244 | * started? Bit odd, but purge frames anyway. | ||
245 | */ | ||
246 | skb_queue_purge(&tid_tx->pending); | ||
242 | kfree(tid_tx); | 247 | kfree(tid_tx); |
243 | } | 248 | } |
244 | } | 249 | } |