mt76: mt76x02: do not access uninitialized NAPI structs
authorFelix Fietkau <nbd@nbd.name>
Mon, 15 Jun 2020 18:13:41 +0000 (20:13 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 23 Jun 2020 08:42:37 +0000 (11:42 +0300)
commit4ac668a3b8c9d3477a3fe162c1cfeb867dd65de8
tree8e079a93a8174853b86c902662fb29068ccde5a8
parent6247c3b0779c16894bf2f25cbaf613fa3258d1ce
mt76: mt76x02: do not access uninitialized NAPI structs

Fixes a crash on MMIO devices when running into the watchdog reset

Fixes: d3377b78cec6 ("mt76: add HE phy modes and hardware queue")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200615181341.81871-1-nbd@nbd.name
drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c