diff options
author | Yair Shapira <yair.shapira@ti.com> | 2013-09-17 18:41:22 +0300 |
---|---|---|
committer | Luciano Coelho <luciano.coelho@intel.com> | 2013-09-30 21:12:18 +0300 |
commit | e7441ce48156572cb81efe1781aac6c7eb1c5323 (patch) | |
tree | f49375a33f0f82f124498858a206b0b24c1a3c89 /drivers/net/wireless/ti/wlcore | |
parent | dd491ffbaad83ccd6c99851a3c2d4b1ed75211fc (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/ps.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/ps.c b/drivers/net/wireless/ti/wlcore/ps.c index 98066d40c2ad..26bfc365ba70 100644 --- a/drivers/net/wireless/ti/wlcore/ps.c +++ b/drivers/net/wireless/ti/wlcore/ps.c @@ -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; |