aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHolger Schurig <holgerschurig@gmail.com>2010-03-28 05:22:17 (GMT)
committerJouni Malinen <j@w1.fi>2010-03-28 05:22:17 (GMT)
commit2ea2fcc7e6dd35074a15e407d2269564e5a929d6 (patch)
treeebb34360abd949bfed1af955975d8e77de8fec04 /src
parent03bcb0af0d4209f41a8563c60ad6168ae70c53ff (diff)
downloadhostap-2ea2fcc7e6dd35074a15e407d2269564e5a929d6.zip
hostap-2ea2fcc7e6dd35074a15e407d2269564e5a929d6.tar.gz
hostap-2ea2fcc7e6dd35074a15e407d2269564e5a929d6.tar.bz2
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.
Diffstat (limited to 'src')
-rw-r--r--src/drivers/driver_nl80211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index ddd2b2d..4eba8aa 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -2274,8 +2274,8 @@ retry:
for (i = 0; i < 4; i++) {
if (!params->wep_key[i])
continue;
- wpa_driver_nl80211_set_key(bss->ifname, drv, WPA_ALG_WEP, NULL,
- i,
+ wpa_driver_nl80211_set_key(bss->ifname, priv, WPA_ALG_WEP,
+ NULL, i,
i == params->wep_tx_keyidx, NULL, 0,
params->wep_key[i],
params->wep_key_len[i]);