mt76: mt7921: allow chip reset during device restart
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 18 Jun 2021 10:30:47 +0000 (12:30 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 19 Jun 2021 07:22:52 +0000 (09:22 +0200)
commit61a1f99dd1e3c145fce9d601b52e7adb8f37322a
tree974a1bbac95194310c836946473456cf51157029
parenta27238a0488e14b2e558053b8b8a9a501e9385c6
mt76: mt7921: allow chip reset during device restart

Disable chip full reset just during device probing but allow
it during hw restart.

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