wpa_gui-qt4: Fixed phase2 format for EAP-FAST GTC+MSCHAPv2 case
This commit is contained in:
parent
2e8c9a27f5
commit
5373c18233
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue