diff mbox series

[1/1,MT76x02,STA,interface]

Message ID 1566315751-7688-1-git-send-email-b.balakrishna@globaledgesoft.com (mailing list archive)
State Superseded
Delegated to: Kalle Valo
Headers show
Series [1/1,MT76x02,STA,interface] | expand

Commit Message

Balakrishna Bandi Aug. 20, 2019, 3:42 p.m. UTC
MT76-Station sends class 3 frames after deauthentication from 3rd party AP
(Sending BAR frame after deauth).

Fix to be, do not send BAR frame after deauth.

Signed-off-by: Balakrishna Bandi <b.balakrishna@globaledgesoft.com>
---
 drivers/net/wireless/mediatek/mt76/mt76x02_util.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Felix Fietkau Aug. 22, 2019, 7:40 a.m. UTC | #1
On 2019-08-20 17:42, Balakrishna Bandi wrote:
> MT76-Station sends class 3 frames after deauthentication from 3rd party AP
> (Sending BAR frame after deauth).
> 
> Fix to be, do not send BAR frame after deauth.
> 
> Signed-off-by: Balakrishna Bandi <b.balakrishna@globaledgesoft.com>
The same issue is also present for MT7615 and MT7603, and the patch
subject line is wrong. I will send a more complete fix

Thanks,

- Felix
diff mbox series

Patch

diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c
index ad53234..0126601 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c
@@ -375,7 +375,6 @@  int mt76x02_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
 	case IEEE80211_AMPDU_TX_STOP_FLUSH:
 	case IEEE80211_AMPDU_TX_STOP_FLUSH_CONT:
 		mtxq->aggr = false;
-		ieee80211_send_bar(vif, sta->addr, tid, mtxq->agg_ssn);
 		break;
 	case IEEE80211_AMPDU_TX_START:
 		mtxq->agg_ssn = IEEE80211_SN_TO_SEQ(*ssn);