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>
This commit is contained in:
Jouni Malinen 2012-01-31 16:20:43 +02:00 committed by Jouni Malinen
parent 32cdcf15b2
commit d3f57d0ff1

View file

@ -726,8 +726,8 @@ int interworking_connect(struct wpa_supplicant *wpa_s, struct wpa_bss *bss)
goto fail; goto fail;
break; break;
case NAI_REALM_INNER_NON_EAP_MSCHAP: case NAI_REALM_INNER_NON_EAP_MSCHAP:
if (wpa_config_set(ssid, "phase2", "\"auth=CHAP\"", 0) if (wpa_config_set(ssid, "phase2", "\"auth=MSCHAP\"",
< 0) 0) < 0)
goto fail; goto fail;
break; break;
case NAI_REALM_INNER_NON_EAP_MSCHAPV2: case NAI_REALM_INNER_NON_EAP_MSCHAPV2: