summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGery Kahn <gery.kahn@gmail.com>2011-02-01 10:03:08 +0100
committerLuciano Coelho <coelho@ti.com>2011-02-22 17:06:36 +0100
commit1ec610ebd6390c2b028434144af204c312a68791 (patch)
treee17560b0033c468d03c3921d46231ccc4a9e8ef8 /drivers
parentwl12xx: change type from u8 to int (diff)
downloadlinux-1ec610ebd6390c2b028434144af204c312a68791.tar.xz
linux-1ec610ebd6390c2b028434144af204c312a68791.zip
wl12xx: update PLT initialization for new firmware
In revision > 6.1.3.0.0 the firmware expects memory configuration command as part of boot. This was missing if driver boots in PLT mode. The patch adds the memory configuration command, which fixes PLT commands tx continuous and rx statistics. Signed-off-by: Gery Kahn <geryk@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/wl12xx/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 61dea73f5fdc..cf8b3cebe9d6 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -482,6 +482,10 @@ static int wl1271_plt_init(struct wl1271 *wl)
if (ret < 0)
goto out_free_memmap;
+ ret = wl1271_acx_sta_mem_cfg(wl);
+ if (ret < 0)
+ goto out_free_memmap;
+
/* Default fragmentation threshold */
ret = wl1271_acx_frag_threshold(wl, wl->conf.tx.frag_threshold);
if (ret < 0)