wifi: b43: Stop correct queue in DMA worker when QoS is disabled
authorRahul Rameshbabu <sergeantsagara@protonmail.com>
Sun, 31 Dec 2023 05:03:51 +0000 (05:03 +0000)
committerKalle Valo <kvalo@kernel.org>
Wed, 10 Jan 2024 14:56:17 +0000 (16:56 +0200)
commit581c8967d66c4961076dbbee356834e9c6777184
tree3435a6fdb539823caec64141227b4ab46751590e
parent77135a38f6c2f950d2306ac3d37cbb407e6243f2
wifi: b43: Stop correct queue in DMA worker when QoS is disabled

When QoS is disabled, the queue priority value will not map to the correct
ieee80211 queue since there is only one queue. Stop queue 0 when QoS is
disabled to prevent trying to stop a non-existent queue and failing to stop
the actual queue instantiated.

Fixes: bad691946966 ("b43: avoid packet losses in the dma worker code.")
Signed-off-by: Rahul Rameshbabu <sergeantsagara@protonmail.com>
Reviewed-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20231231050300.122806-4-sergeantsagara@protonmail.com
drivers/net/wireless/broadcom/b43/main.c