mt76: mt7615: do not adjust MAC timings if the device is not running
authorFelix Fietkau <nbd@nbd.name>
Wed, 22 Apr 2020 10:32:10 +0000 (12:32 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 12 May 2020 17:52:32 +0000 (19:52 +0200)
commitad333c2ad23ec179b0c907e8553779873f4cc1c8
tree5bc486cdac69edd76a5f6436bb6d547f3bd24ee6
parented2bde56ab1fcda71faa24d720df06353d91e237
mt76: mt7615: do not adjust MAC timings if the device is not running

Avoids register writes and MAC start/stop when the hardware isn't ready for it

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/mac.c