aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_glue.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-11-24 14:34:49 (GMT)
committerJouni Malinen <j@w1.fi>2010-11-24 14:34:49 (GMT)
commit3acdf771b8e1b7e4825013350ccca72f21294977 (patch)
tree4089375d1fd70ab1ebaafca68d721d735e2ad63e /src/ap/wpa_auth_glue.c
parent51e2a27a21882658f1988fb6109b96d6b4ced681 (diff)
downloadhostap-3acdf771b8e1b7e4825013350ccca72f21294977.zip
hostap-3acdf771b8e1b7e4825013350ccca72f21294977.tar.gz
hostap-3acdf771b8e1b7e4825013350ccca72f21294977.tar.bz2
hostapd_driver_ops reduction
send_eapol, set_key, read_sta_data, sta_clear_stats, set_radius_acl_auth, set_radius_acl_expire, and set_beacon to use inline functions instead of extra abstraction.
Diffstat (limited to 'src/ap/wpa_auth_glue.c')
-rw-r--r--src/ap/wpa_auth_glue.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ap/wpa_auth_glue.c b/src/ap/wpa_auth_glue.c
index ed43d90..9882488 100644
--- a/src/ap/wpa_auth_glue.c
+++ b/src/ap/wpa_auth_glue.c
@@ -230,8 +230,8 @@ static int hostapd_wpa_auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg,
return -1;
}
- return hapd->drv.set_key(ifname, hapd, alg, addr, idx, 1, NULL, 0,
- key, key_len);
+ return hostapd_drv_set_key(ifname, hapd, alg, addr, idx, 1, NULL, 0,
+ key, key_len);
}
@@ -248,7 +248,8 @@ static int hostapd_wpa_auth_send_eapol(void *ctx, const u8 *addr,
int encrypt)
{
struct hostapd_data *hapd = ctx;
- return hapd->drv.send_eapol(hapd, addr, data, data_len, encrypt);
+ return hostapd_drv_hapd_send_eapol(hapd, addr, data, data_len,
+ encrypt);
}