Home
last modified time | relevance | path

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

/openbmc/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()
912 wl_cmd->key_action = KEY_REMOVE; in wl1251_op_set_key()
940 memcpy(wl_cmd->key, key->key, 16); in wl1251_op_set_key()
947 wl_cmd->key_size = key->keylen; in wl1251_op_set_key()
949 wl_cmd->id = key->keyidx; in wl1251_op_set_key()
950 wl_cmd->ssid_profile = 0; in wl1251_op_set_key()
952 wl1251_dump(DEBUG_CRYPT, "TARGET KEY: ", wl_cmd, sizeof(*wl_cmd)); in wl1251_op_set_key()
954 ret = wl1251_cmd_send(wl, CMD_SET_KEYS, wl_cmd, sizeof(*wl_cmd)); in wl1251_op_set_key()
[all …]