]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: rtw88: Fix rtw_mac_power_switch() for RTL8814AU
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Mon, 17 Feb 2025 23:28:59 +0000 (01:28 +0200)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 21 Feb 2025 02:02:24 +0000 (10:02 +0800)
commite66bca16638ee59e997f9d9a3711b3ae587d04d9
tree316f14a1808419dac4d24a0e4158509a47898533
parente0722103306fd5fd3cdde8d100a7588bfe7abdf0
wifi: rtw88: Fix rtw_mac_power_switch() for RTL8814AU

rtw_mac_power_switch() checks bit 8 of REG_SYS_STATUS1 to see if the
chip is powered on. This bit appears to be always on in the RTL8814AU,
so ignore it.

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/2f0fcffb-3067-4d95-a68c-f2f3a5a47921@gmail.com
drivers/net/wireless/realtek/rtw88/mac.c