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

* commit 'a203fbc87ae41547afb9dbdd06dd41221ed75c26':
  Allow creating EAP_TLS network without specifying Phase2.None
This commit is contained in:
Prem Kumar
2014-09-15 01:01:34 +00:00
committed by Android Git Automerger

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: