summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WifiNetworkSelector.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/service/java/com/android/server/wifi/WifiNetworkSelector.java b/service/java/com/android/server/wifi/WifiNetworkSelector.java
index f084e3151..00d245893 100644
--- a/service/java/com/android/server/wifi/WifiNetworkSelector.java
+++ b/service/java/com/android/server/wifi/WifiNetworkSelector.java
@@ -108,8 +108,8 @@ public class WifiNetworkSelector {
private final WifiNative mWifiNative;
private final Map<String, WifiCandidates.CandidateScorer> mCandidateScorers = new ArrayMap<>();
- private boolean mIsEasyConnectSupportedInitialized = false;
- private boolean mIsEasyConnectSupported;
+ private boolean mIsEnhancedOpenSupportedInitialized = false;
+ private boolean mIsEnhancedOpenSupported;
/**
* WiFi Network Selector supports various categories of networks. Each category
@@ -420,14 +420,14 @@ public class WifiNetworkSelector {
}
private boolean isEnhancedOpenSupported() {
- if (mIsEasyConnectSupportedInitialized) {
- return mIsEasyConnectSupported;
+ if (mIsEnhancedOpenSupportedInitialized) {
+ return mIsEnhancedOpenSupported;
}
- mIsEasyConnectSupportedInitialized = true;
- mIsEasyConnectSupported = (mWifiNative.getSupportedFeatureSet(
+ mIsEnhancedOpenSupportedInitialized = true;
+ mIsEnhancedOpenSupported = (mWifiNative.getSupportedFeatureSet(
mWifiNative.getClientInterfaceName()) & WIFI_FEATURE_OWE) != 0;
- return mIsEasyConnectSupported;
+ return mIsEnhancedOpenSupported;
}
/**