Skip to content

Commit

Permalink
rtw88: not to enter LPS by coex strategy
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yan-Hsuan Chuang authored and Kalle Valo committed Oct 2, 2019
1 parent 27e117e commit 3a068a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/wireless/realtek/rtw88/ps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3a068a2

Please sign in to comment.