summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_init.c
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2009-10-12 15:08:52 +0300
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:48:05 -0400
commit3cfd6cf960b2b030ccae1144a5c0dcd91c7c56a8 (patch)
tree54d0ff7c915701d12fdf891f5131e44c0efd6682 /drivers/net/wireless/wl12xx/wl1271_init.c
parent5d0af498c08b43566733d5c5fb8293ce3b109eab (diff)
downloadblackbird-op-linux-3cfd6cf960b2b030ccae1144a5c0dcd91c7c56a8.tar.gz
blackbird-op-linux-3cfd6cf960b2b030ccae1144a5c0dcd91c7c56a8.zip
wl1271: Enable smart reflex
Enable and configure smart reflex. This should have a reducing impact on power consumption. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@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/wl1271_init.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_init.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_init.c b/drivers/net/wireless/wl12xx/wl1271_init.c
index bf4d0e18fb81..f9315f601bd6 100644
--- a/drivers/net/wireless/wl12xx/wl1271_init.c
+++ b/drivers/net/wireless/wl12xx/wl1271_init.c
@@ -394,6 +394,11 @@ int wl1271_hw_init(struct wl1271 *wl)
if (ret < 0)
goto out_free_memmap;
+ /* Configure smart reflex */
+ ret = wl1271_acx_smart_reflex(wl);
+ if (ret < 0)
+ goto out_free_memmap;
+
return 0;
out_free_memmap:
OpenPOWER on IntegriCloud