Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

wifi: rtw89: remove redundant check of entering LPS

Originally, add this check rule to prevent entering LPS if more than one
vif (in station mode) connect to AP. Since we have checked this by previous
commit, remove this redundant check.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230527082939.11206-4-pkshih@realtek.com

authored by

Ping-Ke Shih and committed by
Kalle Valo
b408f33b 26a125f5

-3
-3
drivers/net/wireless/realtek/rtw89/core.c
··· 2531 2531 rtwvif->tdls_peer) 2532 2532 return; 2533 2533 2534 - if (rtwdev->total_sta_assoc > 1) 2535 - return; 2536 - 2537 2534 if (rtwvif->offchan) 2538 2535 return; 2539 2536