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

Commit 524bc996 authored by Sravanthi Palakonda's avatar Sravanthi Palakonda Committed by Linux Build Service Account
Browse files

WiFi: Do not use SSIDs to differentiate between two networks.

Wifi networks shall exist with same SSID, BSSID  and with different
security. Hence do not consider only SSID as the factor to differentiate
networks.

Change-Id: Ib06bb9c91db310ddb20eca319bd268e582a164ff
parent 2faea7ee
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -640,12 +640,7 @@ public class AccessPoint implements Comparable<AccessPoint> {
        } else if (config != null) {
            return matches(config);
        }
        else {
            // Might be an ephemeral connection with no WifiConfiguration. Try matching on SSID.
            // (Note that we only do this if the WifiConfiguration explicitly equals INVALID).
            // TODO: Handle hex string SSIDs.
            return ssid.equals(removeDoubleQuotes(info.getSSID()));
        }
        return false;
    }

    public boolean isSaved() {