From a9b8e0e62b19fbd7c1dd865330ceb5a943e5cbb2 Mon Sep 17 00:00:00 2001
From: ye he <ye.he@mediatek.com>
Date: Wed, 22 Feb 2023 16:09:32 +0800
Subject: [PATCH 1002/1003] mac80211: mtk: add send bar action when recieve
 addba rsp

Signed-off-by: ye he <ye.he@mediatek.com>
---
 net/mac80211/agg-tx.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net/mac80211/agg-tx.c b/net/mac80211/agg-tx.c
index 7f0e72a..3ce2226 100644
--- a/net/mac80211/agg-tx.c
+++ b/net/mac80211/agg-tx.c
@@ -1080,7 +1080,8 @@ next:
 
 		tid_tx->buf_size = buf_size;
 		tid_tx->amsdu = amsdu;
-
+		ieee80211_send_bar(&sta->sdata->vif, sta->sta.addr,
+					   tid, 0);
 		if (test_bit(HT_AGG_STATE_DRV_READY, &tid_tx->state))
 			ieee80211_agg_tx_operational(local, sta, tid);
 
-- 
2.39.2

