From fd9c21883d8e020a667294ec8e392ebde95f3cde Mon Sep 17 00:00:00 2001 From: David Lin Date: Wed, 23 Nov 2016 10:09:23 +0800 Subject: [PATCH] Avoid data sending to firmware after BA removed. Signed-off-by: David Lin --- mac80211.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mac80211.c b/mac80211.c index a600eda8..1fa1d315 100644 --- a/mac80211.c +++ b/mac80211.c @@ -633,6 +633,7 @@ static int mwl_mac80211_ampdu_action(struct ieee80211_hw *hw, case IEEE80211_AMPDU_TX_STOP_FLUSH_CONT: if (stream) { if (stream->state == AMPDU_STREAM_ACTIVE) { + stream->state = AMPDU_STREAM_IN_PROGRESS; mwl_tx_del_ampdu_pkts(hw, sta, tid); idx = stream->idx; spin_unlock_bh(&priv->stream_lock);