wifi: mt76: mt7925: fix the unfinished command of regd_notifier before suspend
authorQuan Zhou <quan.zhou@mediatek.com>
Fri, 3 Jan 2025 13:35:59 +0000 (21:35 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 14 Jan 2025 12:42:30 +0000 (13:42 +0100)
commit1b97fc8443aea01922560de9f24a6383e6eb6ae8
treec292f071f728e85bd985d44e43e157866728695e
parentd07ecb4f7070e84de49e8fa4e5a83dd52716d805
wifi: mt76: mt7925: fix the unfinished command of regd_notifier before suspend

Before entering suspend, we need to ensure that all MCU command are
completed. In some cases, such as with regd_notifier, there is a
chance that CLC commands, will be executed before suspend.

Signed-off-by: Quan Zhou <quan.zhou@mediatek.com>
Link: https://patch.msgid.link/3af7b4e5bf7437832b016e32743657d1d55b1f9d.1735910288.git.quan.zhou@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7925/init.c
drivers/net/wireless/mediatek/mt76/mt7925/pci.c