aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@nokia.com>2009-06-12 07:16:39 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 14:57:47 -0400
commit0182f8d56c1836629f8331a19bd71e3833b81769 (patch)
tree31deeb488617ed36b0f2113331c869fcd5a4f06b /drivers/net/wireless/wl12xx
parentc5483b71936333ba9474f57d0f3a7a7abf9b87a0 (diff)
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 fe5e2d13acf2..f28f194ca6fb 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)
85 if (enable) { 85 if (enable) {
86 wl12xx_debug(DEBUG_PSM, "sleep auth psm/elp"); 86 wl12xx_debug(DEBUG_PSM, "sleep auth psm/elp");
87 87
88 /* 88 ret = wl12xx_acx_sleep_auth(wl, WL12XX_PSM_ELP);
89 * FIXME: we should PSM_ELP, but because of firmware wakeup
90 * problems let's use only PSM_PS
91 */
92 ret = wl12xx_acx_sleep_auth(wl, WL12XX_PSM_PS);
93 if (ret < 0) 89 if (ret < 0)
94 return ret; 90 return ret;
95 91