]> www.infradead.org Git - users/dwmw2/linux.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)
committerKalle Valo <kvalo@kernel.org>
Wed, 10 Jan 2024 14:56:17 +0000 (16:56 +0200)
commit77135a38f6c2f950d2306ac3d37cbb407e6243f2
treeebe8e15241939b1088b417a148f1497ce3d5d302
parent9636951e4468f02c72cc75a82dc65d003077edbc
wifi: b43: Stop/wake correct queue in PIO Tx path 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/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
drivers/net/wireless/broadcom/b43/pio.c