summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/init.c
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2010-10-16 18:08:58 +0200
committerLuciano Coelho <coelho@ti.com>2011-01-24 22:11:47 +0200
commit98bdaabbbced007c7eb89cd373f9cb1640635b46 (patch)
treeaa073697f83ff89a2fd64cffa44df84bffac8aff /drivers/net/wireless/wl12xx/init.c
parent203c903cbfbdf23bbb3020b9344dd1ffabcfcb53 (diff)
downloadblackbird-op-linux-98bdaabbbced007c7eb89cd373f9cb1640635b46.tar.gz
blackbird-op-linux-98bdaabbbced007c7eb89cd373f9cb1640635b46.zip
wl12xx: AP-mode high level commands
Add commands to start/stop BSS, add/remove STA and configure encryption keys. Split the encryption commands "set key" and "set default key" into AP and STA specific versions. Signed-off-by: Arik Nemtsov <arik@wizery.com> Reviewed-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/init.c')
-rw-r--r--drivers/net/wireless/wl12xx/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/init.c b/drivers/net/wireless/wl12xx/init.c
index f468d7178a9f..799c36914735 100644
--- a/drivers/net/wireless/wl12xx/init.c
+++ b/drivers/net/wireless/wl12xx/init.c
@@ -41,7 +41,7 @@ static int wl1271_init_hwenc_config(struct wl1271 *wl)
return ret;
}
- ret = wl1271_cmd_set_default_wep_key(wl, wl->default_key);
+ ret = wl1271_cmd_set_sta_default_wep_key(wl, wl->default_key);
if (ret < 0) {
wl1271_warning("couldn't set default key");
return ret;
OpenPOWER on IntegriCloud