]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mt76: mt7925: ensure all MCU commands wait for response
authorMichael Lo <michael.lo@mediatek.com>
Mon, 14 Apr 2025 01:39:54 +0000 (09:39 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 22 May 2025 10:57:36 +0000 (12:57 +0200)
commitaa97ff5782cf01cf2163593e1f57bbde63a06047
treec2e29a8c65d514731fdef6600e01b7fec6afd3cd
parentbd02eebfc0b3502fe8322cf229b4c801416d1007
wifi: mt76: mt7925: ensure all MCU commands wait for response

Modify MCU command sending functions to wait for a response,
ensuring consistent behavior across all commands and improves
reliability by confirming that each command is processed
successfully.

Fixes: c948b5da6bbe ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips")
Signed-off-by: Michael Lo <michael.lo@mediatek.com>
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
Link: https://patch.msgid.link/20250414013954.1151774-3-mingyen.hsieh@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c