]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mt76: mt7921: use mt76_for_each_q_rx() in reset path
authorSean Wang <sean.wang@mediatek.com>
Thu, 19 Feb 2026 00:39:58 +0000 (18:39 -0600)
committerFelix Fietkau <nbd@nbd.name>
Tue, 24 Mar 2026 15:49:29 +0000 (15:49 +0000)
commit918af1f87f7de988a7e84a7a85390a7d626ee189
tree6e1682daa9e8d4692da4231fddfa896485ff4be0
parent5c81a4f182d9b48f32e2548f4a39dd76eafb5404
wifi: mt76: mt7921: use mt76_for_each_q_rx() in reset path

Replace explicit napi_disable() calls for RX queues with
mt76_for_each_q_rx() in mt7921e_mac_reset().

This removes hardcoded queue indices and disables all configured
RX queues during reset.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Link: https://patch.msgid.link/20260219004007.19733-2-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c