mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
nl80211: Fix WEP key configuration for prior to authentication
The driver data was changed from struct wpa_driver_nl80211_data * to struct i802_bss * and the internal call will need to match that change.
This commit is contained in:
parent
03bcb0af0d
commit
2ea2fcc7e6
@ -2274,8 +2274,8 @@ retry:
|
|||||||
for (i = 0; i < 4; i++) {
|
for (i = 0; i < 4; i++) {
|
||||||
if (!params->wep_key[i])
|
if (!params->wep_key[i])
|
||||||
continue;
|
continue;
|
||||||
wpa_driver_nl80211_set_key(bss->ifname, drv, WPA_ALG_WEP, NULL,
|
wpa_driver_nl80211_set_key(bss->ifname, priv, WPA_ALG_WEP,
|
||||||
i,
|
NULL, i,
|
||||||
i == params->wep_tx_keyidx, NULL, 0,
|
i == params->wep_tx_keyidx, NULL, 0,
|
||||||
params->wep_key[i],
|
params->wep_key[i],
|
||||||
params->wep_key_len[i]);
|
params->wep_key_len[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user