wifi: mt76: mt7925: fix mcu query command fail
authorHao Zhang <hao.zhang@mediatek.com>
Fri, 29 Dec 2023 03:09:30 +0000 (11:09 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 22 Feb 2024 08:55:17 +0000 (09:55 +0100)
commit2f475cb63eb304bdbb58c9b07b0547ca6c343012
tree2aef45bd39385e41916de16dbcb7cdba67d08909
parent243cecc857735344473ea33a713cd5c2ec1fe347
wifi: mt76: mt7925: fix mcu query command fail

Apply query command type properly to make the chip send the response back.
Otherwise, we may see the command timeout in driver side.

Fixes: c948b5da6bbe ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips")
Signed-off-by: Hao Zhang <hao.zhang@mediatek.com>
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c