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:
Holger Schurig 2010-03-27 22:22:17 -07:00 committed by Jouni Malinen
parent 03bcb0af0d
commit 2ea2fcc7e6

View file

@ -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]);