summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorOscar Shu <xshu@google.com>2020-08-07 16:44:14 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-08-07 16:44:14 +0000
commit7b0a925a6b914c16a4606a14d644878b5039474b (patch)
treef9ee322403dd990777379e5035f705013f2a29cd /service
parentc6cf047d1d9c1d7627790b48383bfd44c39cf75d (diff)
parentea6fc12902328343c9bb26f6ad56738d6cdcdae8 (diff)
Merge "Do not block BSSID if no internet is expected" into rvc-qpr-dev
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/ClientModeImpl.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/service/java/com/android/server/wifi/ClientModeImpl.java b/service/java/com/android/server/wifi/ClientModeImpl.java
index bf11e3cb0..27d58501b 100644
--- a/service/java/com/android/server/wifi/ClientModeImpl.java
+++ b/service/java/com/android/server/wifi/ClientModeImpl.java
@@ -5414,11 +5414,11 @@ public class ClientModeImpl extends StateMachine {
mWifiConfigManager.updateNetworkSelectionStatus(
config.networkId,
DISABLED_NO_INTERNET_TEMPORARY);
+ mBssidBlocklistMonitor.handleBssidConnectionFailure(
+ mLastBssid, config.SSID,
+ BssidBlocklistMonitor.REASON_NETWORK_VALIDATION_FAILURE,
+ mWifiInfo.getRssi());
}
- mBssidBlocklistMonitor.handleBssidConnectionFailure(
- mLastBssid, config.SSID,
- BssidBlocklistMonitor.REASON_NETWORK_VALIDATION_FAILURE,
- mWifiInfo.getRssi());
mWifiScoreCard.noteValidationFailure(mWifiInfo);
}
}