wifi: mt76: mt7996: fix uninitialized variable in mt7996_irq_tasklet()
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 19 Mar 2024 12:05:36 +0000 (13:05 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 2 May 2024 10:44:51 +0000 (12:44 +0200)
commit1ac710a6e8545c6df7a292f167dd088880a74c05
tree355d53584f3518588cfd27cd1f1c7e36b6c7efae
parentfa46bd62c9a8ab195d9c5108a91abf0680fec10e
wifi: mt76: mt7996: fix uninitialized variable in mt7996_irq_tasklet()

Set intr1 to 0 in mt7996_irq_tasklet() in order to avoid possible
uninitialized variable usage if wed is not active for hif2.

Fixes: 83eafc9251d6 ("wifi: mt76: mt7996: add wed tx support")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/mmio.c