wifi: rtw89: 8852b: Fix rtw8852b_pwr_{on,off}_func() for USB
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Sat, 5 Jul 2025 19:37:32 +0000 (22:37 +0300)
committerPing-Ke Shih <pkshih@realtek.com>
Sun, 6 Jul 2025 05:11:41 +0000 (13:11 +0800)
commit0980de01da08338d4a7ceaf5e7ab25a56142c75a
tree5a028ba8c06d084ba8d0f3f3396d794ed69821a4
parent5e9184ae7207c828d3721e9fdaeeb61da0994995
wifi: rtw89: 8852b: Fix rtw8852b_pwr_{on,off}_func() for USB

There are a few differences in the power on/off functions between PCIE
and USB. The changes in the power off function in particular are needed
for the RTL8832BU to be able to power on again after it's powered off.

While the RTL8832BU appears to work without the changes in the power on
function, it's probably best to implement them, in case they are needed
in some situations.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/c12da54f-88e6-4b11-8587-36f9cac13bf3@gmail.com
drivers/net/wireless/realtek/rtw89/rtw8852b.c