OSDN Git Service

wifi: mt76: mt7996: avoid mcu_restart function pointer
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 23 Jan 2023 10:55:28 +0000 (11:55 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 3 Feb 2023 13:47:26 +0000 (14:47 +0100)
commit25c8638071b61ff43bc982224b6435d25b874509
tree3f51c5d6fc43b1a7b8c2847af7612e232a914086
parentc7e1789ae7751add80895ce9c9aa790cb093734e
wifi: mt76: mt7996: avoid mcu_restart function pointer

Run mt7996_mcu_restart routine directly and avoid mcu_restart function
pointer whenever it is possible.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c