OSDN Git Service

wifi: mt76: mt7915: avoid mcu_restart function pointer
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 1 Jan 2023 11:53:18 +0000 (12:53 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 3 Feb 2023 13:47:16 +0000 (14:47 +0100)
commitf535ccdfc0a3cbb480f92b5d5a39055c11fe0e4e
tree91bc4b887ada2340764593b19337cf1266e3b2a5
parent3f7dda36e0b6dfa2cd26191f754ba061ab8191f2
wifi: mt76: mt7915: avoid mcu_restart function pointer

Run mt76_connac_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/mt7915/mcu.c