OSDN Git Service

More fixes to get passpoint working
authorVinit Deshpande <vinitd@google.com>
Thu, 19 Mar 2015 00:00:30 +0000 (17:00 -0700)
committerVinit Deshpande <vinitd@google.com>
Thu, 19 Mar 2015 00:00:48 +0000 (17:00 -0700)
Change-Id: If8639bb0fd3bdaad7ee09217a9152c1695cb9354

wifi/java/android/net/wifi/WifiConfiguration.java

index 50beda7..34ae386 100644 (file)
@@ -950,8 +950,7 @@ public class WifiConfiguration implements Parcelable {
      * Identify if this configuration represents a passpoint network
      */
     public boolean isPasspoint() {
-        return TextUtils.isEmpty(SSID)
-                && !TextUtils.isEmpty(FQDN)
+        return !TextUtils.isEmpty(FQDN)
                 && !TextUtils.isEmpty(providerFriendlyName)
                 && enterpriseConfig != null
                 && enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE;