]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix intr_txqs setting
authorPeter Seiderer <ps.report@gmx.net>
Tue, 16 Nov 2021 22:07:20 +0000 (23:07 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 19 Nov 2021 08:07:38 +0000 (10:07 +0200)
commitf751d3149af1e05a50c06702f9373715289b4679
tree2fa69e24b93063fa75a3d28f9f0316008158d4ba
parent17cac3daa7f22b6e2e14dbfcc8d40268213b7cc7
ath9k: fix intr_txqs setting

The struct ath_hw member intr_txqs is never reset/assigned outside
of ath9k_hw_init_queues() and with the used bitwise-or in the interrupt
handling ar9002_hw_get_isr() accumulates all ever set interrupt flags.

Fix this by using a pure assign instead of bitwise-or for the
first line (note: intr_txqs is only evaluated in case ATH9K_INT_TX bit
is set).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211116220720.30145-1-ps.report@gmx.net
drivers/net/wireless/ath/ath9k/ar9002_mac.c