]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:20 +0000 (18:19 -0400)
commitd607e9ad6efa473ce278cf5f59946d79b488d318
treed657cf243e38ac86260bfebf18a73f975eaeaf6b
parent6b62086ef60b3cfdb2718becc4f4c21d00114e86
wifi: b43: Stop correct queue in DMA worker when QoS is disabled

[ Upstream commit 581c8967d66c4961076dbbee356834e9c6777184 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/broadcom/b43/main.c