Skip to content

Commit 768ae06

Browse files
Ming Yen Hsiehopsiff
authored andcommitted
wifi: mt76: mt7925: fix the wrong config for tx interrupt
stable inclusion from stable-v6.12.39 category: bugfix commit d20de55 upstream. 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: stable@vger.kernel.org Fixes: c948b5d ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips") Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com> Link: https://patch.msgid.link/20250612060931.135635-1-mingyen.hsieh@mediatek.com Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit fad0f6fcdae0eadcc8216efee4169d60fca209f3) (cherry picked from commit 2a18ac2) Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent 5d48c8a commit 768ae06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/net/wireless/mediatek/mt76/mt7925

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)