wifi: mt76: mt7915: fix error recovery with WED enabled
authorFelix Fietkau <nbd@nbd.name>
Thu, 18 Jan 2024 14:51:53 +0000 (15:51 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 22 Feb 2024 08:55:16 +0000 (09:55 +0100)
commit350f63c9624b8fd407805c7dfb652a1c3d619862
tree97d332b571573c6a25866736cd68b56225cabde8
parent6178554066bc41445997cf0319489b625cefcc5f
wifi: mt76: mt7915: fix error recovery with WED enabled

Do not clear the interrupt mask register on MT7915, since that prevents
MCU_CMD interrupts from being reported, thus causing timeouts during the
reset sequence. Defer stopping WED until tx/rx processing activity has
stopped.

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