Searched refs:pwep (Results 1 – 1 of 1) sorted by relevance
1703 struct ndis_802_11_wep *pwep = NULL; in cfg80211_rtw_connect() local1717 pwep = kzalloc(wep_total_len, GFP_KERNEL); in cfg80211_rtw_connect()1718 if (!pwep) { in cfg80211_rtw_connect()1723 pwep->key_length = wep_key_len; in cfg80211_rtw_connect()1724 pwep->length = wep_total_len; in cfg80211_rtw_connect()1735 pwep->key_index = wep_key_idx; in cfg80211_rtw_connect()1736 pwep->key_index |= 0x80000000; in cfg80211_rtw_connect()1738 memcpy(pwep->key_material, (void *)sme->key, pwep->key_length); in cfg80211_rtw_connect()1740 if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) in cfg80211_rtw_connect()1743 kfree(pwep); in cfg80211_rtw_connect()