Browse Source

wpa_gui-qt4: Fixed phase2 format for EAP-FAST GTC+MSCHAPv2 case

Jouni Malinen 16 years ago
parent
commit
5373c18233
1 changed files with 2 additions and 2 deletions
  1. 2 2
      wpa_supplicant/wpa_gui-qt4/networkconfig.cpp

+ 2 - 2
wpa_supplicant/wpa_gui-qt4/networkconfig.cpp

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