aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-11-23 16:58:32 +0200
committerJouni Malinen <j@w1.fi>2009-11-23 16:58:32 +0200
commit642187d6bffa526e0fa35159a94791a282502df3 (patch)
tree864dd61a72473f885ac770fc121c03b0ca9e65f8 /wpa_supplicant/driver_i.h
parentfd7a5dd15f68def3c1f693ef2b347d14968b1043 (diff)
downloadexternal_wpa_supplicant_8_ti-642187d6bffa526e0fa35159a94791a282502df3.zip
external_wpa_supplicant_8_ti-642187d6bffa526e0fa35159a94791a282502df3.tar.gz
external_wpa_supplicant_8_ti-642187d6bffa526e0fa35159a94791a282502df3.tar.bz2
Merge set_key and hapd_set_key driver_ops into a single function
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index bd6de06..4a7707a 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -160,9 +160,9 @@ static inline int wpa_drv_set_key(struct wpa_supplicant *wpa_s, wpa_alg alg,
{
if (wpa_s->driver->set_key) {
wpa_s->keys_cleared = 0;
- return wpa_s->driver->set_key(wpa_s->drv_priv, alg, addr,
- key_idx, set_tx, seq, seq_len,
- key, key_len);
+ return wpa_s->driver->set_key(wpa_s->ifname, wpa_s->drv_priv,
+ alg, addr, key_idx, set_tx,
+ seq, seq_len, key, key_len);
}
return -1;
}