summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wl12xx
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@nokia.com>2009-06-12 11:16:39 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 18:57:47 (GMT)
commit0182f8d56c1836629f8331a19bd71e3833b81769 (patch)
tree31deeb488617ed36b0f2113331c869fcd5a4f06b /drivers/net/wireless/wl12xx
parentc5483b71936333ba9474f57d0f3a7a7abf9b87a0 (diff)
downloadlinux-fsl-qoriq-0182f8d56c1836629f8331a19bd71e3833b81769.tar.xz
wl12xx: enable ELP mode
ELP mode is working now, let's enable it so that the firmware can sleep and reduce power consumption. Signed-off-by: Kalle Valo <kalle.valo@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Reviewed-by: Vidhya Govindan <vidhya.govindan@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r--drivers/net/wireless/wl12xx/ps.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/wl12xx/ps.c b/drivers/net/wireless/wl12xx/ps.c
index fe5e2d1..f28f194 100644
--- a/drivers/net/wireless/wl12xx/ps.c
+++ b/drivers/net/wireless/wl12xx/ps.c
@@ -85,11 +85,7 @@ static int wl12xx_ps_set_elp(struct wl12xx *wl, bool enable)
if (enable) {
wl12xx_debug(DEBUG_PSM, "sleep auth psm/elp");
- /*
- * FIXME: we should PSM_ELP, but because of firmware wakeup
- * problems let's use only PSM_PS
- */
- ret = wl12xx_acx_sleep_auth(wl, WL12XX_PSM_PS);
+ ret = wl12xx_acx_sleep_auth(wl, WL12XX_PSM_ELP);
if (ret < 0)
return ret;