Commit bd5ea18f authored by Luciano Coelho's avatar Luciano Coelho Committed by John W. Linville
Browse files

wl1271: make sure PS is disabled in PLT

We cannot be in PS mode when running PLT tests, so we need to make sure we're
in active mode.  Also, we need to clear up the rx_counter when we stop PLT,
otherwise it could cause problems when entering PLT again.

Signed-off-by: default avatarLuciano Coelho <>
Reviewed-by: default avatarJuuso Oikarinen <>
Signed-off-by: default avatarJohn W. Linville <>
parent ed317788
......@@ -774,6 +774,11 @@ int wl1271_plt_start(struct wl1271 *wl)
if (ret < 0)
goto out_irq_disable;
/* Make sure power saving is disabled */
ret = wl1271_acx_sleep_auth(wl, WL1271_PSM_CAM);
if (ret < 0)
goto out_irq_disable;
goto out;
......@@ -807,6 +812,7 @@ int wl1271_plt_stop(struct wl1271 *wl)
wl->state = WL1271_STATE_OFF;
wl->rx_counter = 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment