]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mt76: mt7921: fix a potential scan no APs
authorQuan Zhou <quan.zhou@mediatek.com>
Thu, 18 Jul 2024 13:49:09 +0000 (21:49 +0800)
committerFelix Fietkau <nbd@nbd.name>
Mon, 13 Jan 2025 10:21:54 +0000 (11:21 +0100)
commit5ed54896b6bd444223092cab361b0785932119ab
tree46163add3b62d522fe7cb3cc2a0c8ae0b8e9128f
parent512e26db3565b310052dc2b8975ac7c973bf8ab6
wifi: mt76: mt7921: fix a potential scan no APs

In multi-channel scenarios, the granted channel must be aborted before
station remove. Otherwise, the firmware will be put into a wrong state,
resulting in have chance to make subsequence scan no APs.
With this patch, the granted channel will be always aborted before
station remove.

Signed-off-by: Quan Zhou <quan.zhou@mediatek.com>
Reviewed-by: Sean Wang <sean.wang@mediatek.com>
Tested-by: David Ruth <druth@chromium.org>
Reviewed-by: David Ruth <druth@chromium.org>
Link: https://patch.msgid.link/1ac1ae779db86d4012199a24ea2ca74050ed4af6.1721300411.git.quan.zhou@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/main.c