mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
rtw88: not to enter LPS by coex strategy
Sometimes LPS is not compatible with COEX's strategy, and COEX will not allow driver to enter it. Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
committed by
Kalle Valo
parent
27e117e4b0
commit
3a068a2a65
@@ -191,6 +191,9 @@ void rtw_enter_lps(struct rtw_dev *rtwdev, u8 port_id)
|
||||
{
|
||||
lockdep_assert_held(&rtwdev->mutex);
|
||||
|
||||
if (rtwdev->coex.stat.wl_force_lps_ctrl)
|
||||
return;
|
||||
|
||||
__rtw_enter_lps(rtwdev, port_id);
|
||||
__rtw_enter_lps_deep(rtwdev);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user