]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: mt76: mt7996: Reset mtxq->idx if primary link is removed in mt7996_vif_link_rem...
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 5 Dec 2025 10:24:37 +0000 (11:24 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 23 Mar 2026 09:21:24 +0000 (09:21 +0000)
commit751a2679b15e3a0fa8fc9175862f0ec40643db68
treec69a94de5e6966b2e6897b683e1d375eb4e9bf29
parent654abcbe4528f74428b69292fad5c4224414fa1b
wifi: mt76: mt7996: Reset mtxq->idx if primary link is removed in mt7996_vif_link_remove()

Reset WCID index in mt76_txq struct if primary link is removed in
mt7996_vif_link_remove routine.

Fixes: a3316d2fc669f ("wifi: mt76: mt7996: set vif default link_id adding/removing vif links")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20251205-mt76-txq-wicd-fix-v2-2-f19ba48af7c1@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/main.c