]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: mt76: mt7921: Reset ampdu_state state in case of failure in mt76_connac2_tx_che...
authorSean Wang <sean.wang@mediatek.com>
Tue, 16 Dec 2025 00:59:30 +0000 (18:59 -0600)
committerFelix Fietkau <nbd@nbd.name>
Mon, 23 Mar 2026 09:21:25 +0000 (09:21 +0000)
commit53ffffeb9624ffab6d9a3b1da8635a23f1172b5e
tree6f9cabccfe891548bb291b8cabe17705bd8a8b75
parentc0747db7c10c2dfbdcff0e8e97021e3df1f1e362
wifi: mt76: mt7921: Reset ampdu_state state in case of failure in mt76_connac2_tx_check_aggr()

Reset ampdu_state if ieee80211_start_tx_ba_session() fails in
mt76_connac2_tx_check_aggr(), otherwise the driver may incorrectly
assume aggregation is active and skip future BA setup attempts.

Fixes: 163f4d22c118 ("mt76: mt7921: add MAC support")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Link: https://patch.msgid.link/20251216005930.9412-1-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c