aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/hostapd.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2008-10-08 14:25:47 (GMT)
committerJouni Malinen <j@w1.fi>2008-10-08 14:25:47 (GMT)
commita11c90a64a45953c1edb19e0af63fe5afca94525 (patch)
tree3c2aceeb87bfbc8448ba5fa5b85da187ea4523b2 /hostapd/hostapd.c
parent378eae5e9b4e23d533ae1eb0820e8d9cee28a94a (diff)
downloadhostap-06-a11c90a64a45953c1edb19e0af63fe5afca94525.zip
hostap-06-a11c90a64a45953c1edb19e0af63fe5afca94525.tar.gz
hostap-06-a11c90a64a45953c1edb19e0af63fe5afca94525.tar.bz2
EAP-FAST: Make PAC-Key lifetime values configurable
The hardcoded values in eap_fast.c were replaced with values read from hostapd.conf.
Diffstat (limited to 'hostapd/hostapd.c')
-rw-r--r--hostapd/hostapd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/hostapd.c b/hostapd/hostapd.c
index 5990cf0..22054cf 100644
--- a/hostapd/hostapd.c
+++ b/hostapd/hostapd.c
@@ -1171,6 +1171,8 @@ static int hostapd_setup_radius_srv(struct hostapd_data *hapd,
srv.pac_opaque_encr_key = conf->pac_opaque_encr_key;
srv.eap_fast_a_id = conf->eap_fast_a_id;
srv.eap_fast_prov = conf->eap_fast_prov;
+ srv.pac_key_lifetime = conf->pac_key_lifetime;
+ srv.pac_key_refresh_time = conf->pac_key_refresh_time;
srv.eap_sim_aka_result_ind = conf->eap_sim_aka_result_ind;
srv.tnc = conf->tnc;
srv.ipv6 = conf->radius_server_ipv6;