]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mt76: mt7996: Switch to the secondary link if the default one is removed
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 5 Dec 2025 10:24:38 +0000 (11:24 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 23 Mar 2026 09:21:24 +0000 (09:21 +0000)
commit5ef44c200618430b004233cbfc1b0929a13d5ac8
tree88d4cfb5b7ce6e2d634c06add903ff3b20ba62d2
parent751a2679b15e3a0fa8fc9175862f0ec40643db68
wifi: mt76: mt7996: Switch to the secondary link if the default one is removed

Switch to the secondary link if available in mt7996_mac_sta_remove_links
routine if the primary one is removed.
Moreover reset secondary link index for single link scenario.

Fixes: 85cd5534a3f2e ("wifi: mt76: mt7996: use correct link_id when filling TXD and TXP")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20251205-mt76-txq-wicd-fix-v2-3-f19ba48af7c1@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/mac.c
drivers/net/wireless/mediatek/mt76/mt7996/main.c