]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: b43: Stop/wake correct queue in PIO Tx path when QoS is disabled
authorRahul Rameshbabu <sergeantsagara@protonmail.com>
Sun, 31 Dec 2023 05:03:45 +0000 (05:03 +0000)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:20 +0000 (18:19 -0400)
commit6b62086ef60b3cfdb2718becc4f4c21d00114e86
treecc228c8b72d331290c4b07d687c017736b75b123
parentbc845e2e42cae95172c04bf29807c480f51a2a83
wifi: b43: Stop/wake correct queue in PIO Tx path when QoS is disabled

[ Upstream commit 77135a38f6c2f950d2306ac3d37cbb407e6243f2 ]

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

Fixes: 5100d5ac81b9 ("b43: Add PIO support for PCMCIA devices")
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-3-sergeantsagara@protonmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/broadcom/b43/pio.c