Re: [PATCH v1] ath9k: fix intr_txqs setting

From: Kalle Valo
Date: Wed Nov 17 2021 - 03:47:44 EST


Peter Seiderer <ps.report@xxxxxxx> wrote:

> 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@xxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

How did you test this? I'm getting way too many ath9k patches which have not
been tested on a real device.

--
https://patchwork.kernel.org/project/linux-wireless/patch/20211116220720.30145-1-ps.report@xxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches