aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer/eap_ttls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eap_peer/eap_ttls.c')
-rw-r--r--src/eap_peer/eap_ttls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eap_peer/eap_ttls.c b/src/eap_peer/eap_ttls.c
index bed4094..662676f 100644
--- a/src/eap_peer/eap_ttls.c
+++ b/src/eap_peer/eap_ttls.c
@@ -146,8 +146,8 @@ static void * eap_ttls_init(struct eap_sm *sm)
if (data->phase2_type == EAP_TTLS_PHASE2_EAP) {
if (eap_peer_select_phase2_methods(config, "autheap=",
&data->phase2_eap_types,
- &data->num_phase2_eap_types)
- < 0) {
+ &data->num_phase2_eap_types,
+ 0) < 0) {
eap_ttls_deinit(sm, data);
return NULL;
}