mt76: mt7915: always call mt7915_wfsys_reset() during init
authorRyder Lee <ryder.lee@mediatek.com>
Sat, 19 Mar 2022 04:53:50 +0000 (12:53 +0800)
committerFelix Fietkau <nbd@nbd.name>
Fri, 13 May 2022 07:39:34 +0000 (09:39 +0200)
commit5beadb27fa808172c26a6a6d3e8500cf6b547c48
tree9428fc1de9dd247734a31a1354b3209f67eb17ba
parent47eea8ad62a1203ce20b365f7feba23fef62a487
mt76: mt7915: always call mt7915_wfsys_reset() during init

Soft reboot might not clear certain condition, so always call
mt7915_wfsys_reset() during init.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/init.c
drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h
drivers/net/wireless/mediatek/mt76/mt7915/pci.c
drivers/net/wireless/mediatek/mt76/mt7915/soc.c