Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80fba493 authored by Shinji Sogo's avatar Shinji Sogo Committed by android-build-merger
Browse files

Merge "[HS2.0] Need to compare with not only FQDN but SSID" am: 69e7f968

am: e67395a9

Change-Id: Idff19dcb2c95c4f8b359863fe8545fc478040723
parents 106821ed e67395a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -254,7 +254,7 @@ public class AccessPoint implements Comparable<AccessPoint> {

    public boolean matches(WifiConfiguration config) {
        if (config.isPasspoint() && mConfig != null && mConfig.isPasspoint()) {
            return config.FQDN.equals(mConfig.FQDN);
            return ssid.equals(removeDoubleQuotes(config.SSID)) && config.FQDN.equals(mConfig.FQDN);
        } else {
            return ssid.equals(removeDoubleQuotes(config.SSID))
                    && security == getSecurity(config)