wifi: rtw89: remove redundant check of entering LPS
authorPing-Ke Shih <pkshih@realtek.com>
Sat, 27 May 2023 08:29:39 +0000 (16:29 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 1 Jun 2023 13:16:41 +0000 (16:16 +0300)
commitb408f33b35a4de606bfbd0de33b8f971bc5488ba
tree7c3ed20e346b99aa0b9eadb902343d7107e3e921
parent26a125f550a3bf86ac91d38752f4d446426dfe1c
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
drivers/net/wireless/realtek/rtw89/core.c