Home
last modified time | relevance | path

Searched refs:wl_cmd (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/wireless/ti/wl1251/
H A Dmain.c872 struct wl1251_cmd_set_keys *wl_cmd; in wl1251_op_set_key() local
881 wl_cmd = kzalloc(sizeof(*wl_cmd), GFP_KERNEL); in wl1251_op_set_key()
882 if (!wl_cmd) { in wl1251_op_set_key()
909 wl_cmd->key_action = KEY_ADD_OR_REPLACE; in wl1251_op_set_key()
912 wl_cmd->key_action = KEY_REMOVE; in wl1251_op_set_key()
923 ret = wl1251_set_key_type(wl, wl_cmd, cmd, key, addr); in wl1251_op_set_key()
929 if (wl_cmd->key_type != KEY_WEP_DEFAULT) in wl1251_op_set_key()
930 memcpy(wl_cmd->addr, addr, ETH_ALEN); in wl1251_op_set_key()
932 if ((wl_cmd->key_type == KEY_TKIP_MIC_GROUP) || in wl1251_op_set_key()
933 (wl_cmd->key_type == KEY_TKIP_MIC_PAIRWISE)) { in wl1251_op_set_key()
[all …]