Merge "[HS2.0] Need to compare with not only FQDN but SSID" am: 69e7f9683d am: e67395a97a
am: 80fba49386
Change-Id: I15cabf9e4146f1f0d0c31b24d222c34b8477cdb7
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user