Home
last modified time | relevance | path

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

/drivers/net/wireless/wl1251/
Dmain.c781 struct wl1251_cmd_set_keys *wl_cmd; in wl1251_op_set_key() local
790 wl_cmd = kzalloc(sizeof(*wl_cmd), GFP_KERNEL); in wl1251_op_set_key()
791 if (!wl_cmd) { in wl1251_op_set_key()
818 wl_cmd->key_action = KEY_ADD_OR_REPLACE; in wl1251_op_set_key()
821 wl_cmd->key_action = KEY_REMOVE; in wl1251_op_set_key()
828 ret = wl1251_set_key_type(wl, wl_cmd, cmd, key, addr); in wl1251_op_set_key()
834 if (wl_cmd->key_type != KEY_WEP_DEFAULT) in wl1251_op_set_key()
835 memcpy(wl_cmd->addr, addr, ETH_ALEN); in wl1251_op_set_key()
837 if ((wl_cmd->key_type == KEY_TKIP_MIC_GROUP) || in wl1251_op_set_key()
838 (wl_cmd->key_type == KEY_TKIP_MIC_PAIRWISE)) { in wl1251_op_set_key()
[all …]