Merge "[HS2.0] Need to compare with not only FQDN but SSID" am: 69e7f9683d
am: e67395a97a
Change-Id: Idff19dcb2c95c4f8b359863fe8545fc478040723
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