mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-06 13:55:08 +08:00
wlcore: disable elp sleep while in plt mode
We now disable elp sleep during plt mode to allow normal operation of plt tools such as calibrator. Having elp_sleep enabled during plt mode is actually not required and in fact it disrupt plt operations such as rx statistics etc. Signed-off-by: Yair Shapira <yair.shapira@ti.com> Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
dd491ffbaa
commit
e7441ce481
@ -83,6 +83,10 @@ void wl1271_ps_elp_sleep(struct wl1271 *wl)
|
||||
struct wl12xx_vif *wlvif;
|
||||
u32 timeout;
|
||||
|
||||
/* We do not enter elp sleep in PLT mode */
|
||||
if (wl->plt)
|
||||
return;
|
||||
|
||||
if (wl->sleep_auth != WL1271_PSM_ELP)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user