Merge "Allow creating EAP_TLS network without specifying Phase2.None" into lmp-dev

This commit is contained in:
Prem Kumar
2014-09-15 00:51:12 +00:00
committed by Android (Google) Code Review

View File

@@ -271,9 +271,11 @@ public class WifiEnterpriseConfig implements Parcelable {
public void setEapMethod(int eapMethod) {
switch (eapMethod) {
/** Valid methods */
case Eap.TLS:
setPhase2Method(Phase2.NONE);
/* fall through */
case Eap.PEAP:
case Eap.PWD:
case Eap.TLS:
case Eap.TTLS:
case Eap.SIM:
case Eap.AKA: