aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/config_file.c
diff options
context:
space:
mode:
authorFrederic Leroy <frederic.leroy@b-com.com>2015-06-10 11:15:24 (GMT)
committerJouni Malinen <j@w1.fi>2015-10-31 14:28:16 (GMT)
commit7b0f5500b023deed1acce88cacf3c4606907363f (patch)
tree18b999ebc773d4fc941998f6aa445fd920ffdbeb /hostapd/config_file.c
parenta6cc1e57474cbc542fda1d47fca859939d28832c (diff)
downloadhostap-7b0f5500b023deed1acce88cacf3c4606907363f.zip
hostap-7b0f5500b023deed1acce88cacf3c4606907363f.tar.gz
hostap-7b0f5500b023deed1acce88cacf3c4606907363f.tar.bz2
eap_sim_db: Implement eap_sim_db_expire_pending()
Expire pending DB request for EAP-SIM/AKA/AKA'. Timeout defaults to 1 second and is user configurable in hostapd.conf (eap_sim_db_timeout). Signed-off-by: Frederic Leroy <frederic.leroy@b-com.com>
Diffstat (limited to 'hostapd/config_file.c')
-rw-r--r--hostapd/config_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index 2ee4620..bf42466 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -2187,6 +2187,8 @@ static int hostapd_config_fill(struct hostapd_config *conf,
} else if (os_strcmp(buf, "eap_sim_db") == 0) {
os_free(bss->eap_sim_db);
bss->eap_sim_db = os_strdup(pos);
+ } else if (os_strcmp(buf, "eap_sim_db_timeout") == 0) {
+ bss->eap_sim_db_timeout = atoi(pos);
} else if (os_strcmp(buf, "eap_sim_aka_result_ind") == 0) {
bss->eap_sim_aka_result_ind = atoi(pos);
#endif /* EAP_SERVER_SIM */