aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/eap_register.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-07-23 18:21:36 (GMT)
committerJouni Malinen <j@w1.fi>2014-02-25 23:24:23 (GMT)
commit8e5fdfabf69a7692d1a0d04f00fa103e9ff72010 (patch)
treed96c3ae293390121333a0ccc718f1d231c3f6c8e /wpa_supplicant/eap_register.c
parentdf0f01d91f56fc55fedfd78a81a1fcca031af537 (diff)
downloadhostap-8e5fdfabf69a7692d1a0d04f00fa103e9ff72010.zip
hostap-8e5fdfabf69a7692d1a0d04f00fa103e9ff72010.tar.gz
hostap-8e5fdfabf69a7692d1a0d04f00fa103e9ff72010.tar.bz2
HS 2.0R2: Add WFA server-only EAP-TLS peer method
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/eap_register.c')
-rw-r--r--wpa_supplicant/eap_register.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/wpa_supplicant/eap_register.c b/wpa_supplicant/eap_register.c
index 6cd2fc5..ece5716 100644
--- a/wpa_supplicant/eap_register.c
+++ b/wpa_supplicant/eap_register.c
@@ -40,6 +40,13 @@ int eap_register_methods(void)
ret = eap_peer_unauth_tls_register();
#endif /* EAP_UNAUTH_TLS */
+#ifdef EAP_TLS
+#ifdef CONFIG_HS20
+ if (ret == 0)
+ ret = eap_peer_wfa_unauth_tls_register();
+#endif /* CONFIG_HS20 */
+#endif /* EAP_TLS */
+
#ifdef EAP_MSCHAPv2
if (ret == 0)
ret = eap_peer_mschapv2_register();