mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-25 16:05:55 +00:00
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
This commit is contained in:
parent
26a125f550
commit
b408f33b35
@ -2531,9 +2531,6 @@ static void rtw89_vif_enter_lps(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwv
|
||||
rtwvif->tdls_peer)
|
||||
return;
|
||||
|
||||
if (rtwdev->total_sta_assoc > 1)
|
||||
return;
|
||||
|
||||
if (rtwvif->offchan)
|
||||
return;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user