Skip to content

Commit d20de55

Browse files
Ming Yen Hsiehnbd168
authored andcommitted
wifi: mt76: mt7925: fix the wrong config for tx interrupt
MT_INT_TX_DONE_MCU_WM may cause tx interrupt to be mishandled during a reset failure, leading to the reset process failing. By using MT_INT_TX_DONE_MCU instead of MT_INT_TX_DONE_MCU_WM, the handling of tx interrupt is improved. Cc: [email protected] Fixes: c948b5d ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips") Signed-off-by: Ming Yen Hsieh <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>
1 parent 7153257 commit d20de55

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/mediatek/mt76/mt7925

1 file changed

+1
-1
lines changed

drivers/net/wireless/mediatek/mt76/mt7925/regs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
#define MT_INT_TX_DONE_MCU (MT_INT_TX_DONE_MCU_WM | \
6060
MT_INT_TX_DONE_FWDL)
61-
#define MT_INT_TX_DONE_ALL (MT_INT_TX_DONE_MCU_WM | \
61+
#define MT_INT_TX_DONE_ALL (MT_INT_TX_DONE_MCU | \
6262
MT_INT_TX_DONE_BAND0 | \
6363
GENMASK(18, 4))
6464

0 commit comments

Comments
 (0)