]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Interworking: Fix EAP-TTLS/MSCHAP configuration
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 31 Jan 2012 14:20:43 +0000 (16:20 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 31 Jan 2012 14:20:43 +0000 (16:20 +0200)
Copy-paste error ended up using CHAP when MSCHAP was supposed to be
set.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

wpa_supplicant/interworking.c

index d42aa407c8cf142cfed19aa0d329322f38ee80df..88c09167b6138cde27716f5e015f708a93217dd2 100644 (file)
@@ -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: