wpa_gui-qt4: Fixed phase2 format for EAP-FAST GTC+MSCHAPv2 case
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 2 Oct 2008 11:09:43 +0000 (14:09 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 2 Oct 2008 11:09:43 +0000 (14:09 +0300)
wpa_supplicant/wpa_gui-qt4/networkconfig.cpp

index c7ccb73..f17475e 100644 (file)
@@ -314,7 +314,7 @@ void NetworkConfig::addNetwork()
                        } else if (inner.compare("GTC(auth) + MSCHAPv2(prov)")
                                   == 0) {
                                snprintf(phase2, sizeof(phase2),
-                                        "auth=GTC MSCHAPV2");
+                                        "auth=GTC auth=MSCHAPV2");
                                provisioning = "fast_provisioning=1";
                        }
                        if (provisioning) {
@@ -643,7 +643,7 @@ void NetworkConfig::paramsFromConfig(int network_id)
        case FAST_INNER:
                if (strncmp(reply, "\"auth=", 6))
                        break;
-               if (strcmp(reply + 6, "GTC MSCHAPV2") == 0) {
+               if (strcmp(reply + 6, "GTC auth=MSCHAPV2") == 0) {
                        val = "GTC(auth) + MSCHAPv2(prov)";
                        break;
                }