aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/interworking.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-01-31 14:20:43 (GMT)
committerJouni Malinen <j@w1.fi>2012-01-31 14:20:43 (GMT)
commitd3f57d0ff19758377f40223b56afe5e8960fd0b8 (patch)
treeb696747c34d3df2b9a9cfe42b6f485ada7b151b9 /wpa_supplicant/interworking.c
parent32cdcf15b2d6716d6d348262e4870b3d64289926 (diff)
downloadhostap-d3f57d0ff19758377f40223b56afe5e8960fd0b8.zip
hostap-d3f57d0ff19758377f40223b56afe5e8960fd0b8.tar.gz
hostap-d3f57d0ff19758377f40223b56afe5e8960fd0b8.tar.bz2
Interworking: Fix EAP-TTLS/MSCHAP configuration
Copy-paste error ended up using CHAP when MSCHAP was supposed to be set. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/interworking.c')
-rw-r--r--wpa_supplicant/interworking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/interworking.c b/wpa_supplicant/interworking.c
index d42aa40..88c0916 100644
--- a/wpa_supplicant/interworking.c
+++ b/wpa_supplicant/interworking.c
@@ -726,8 +726,8 @@ int interworking_connect(struct wpa_supplicant *wpa_s, struct wpa_bss *bss)
goto fail;
break;
case NAI_REALM_INNER_NON_EAP_MSCHAP:
- if (wpa_config_set(ssid, "phase2", "\"auth=CHAP\"", 0)
- < 0)
+ if (wpa_config_set(ssid, "phase2", "\"auth=MSCHAP\"",
+ 0) < 0)
goto fail;
break;
case NAI_REALM_INNER_NON_EAP_MSCHAPV2: