summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2020-06-02 10:14:00 -0700
committerRoshan Pius <rpius@google.com>2020-06-02 10:19:09 -0700
commit40a6a0e1fb3efb62b81e24b30820c9ffa778b206 (patch)
tree16ce768161cdadaa6953d071a288e8fecbed2a3e /service
parent6b61b75021ae98eab575dbcf9ccd244d0a821a1e (diff)
WifiConnectivityManager: Reset connection limiter on force scan
Bug: 156708458 Test: atest com.android.server.wifi Change-Id: Ia7f82e382e3764892287f4358eda280de2bea3cb
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WifiConnectivityManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/WifiConnectivityManager.java b/service/java/com/android/server/wifi/WifiConnectivityManager.java
index ad5a8f26c..2ce0bc024 100644
--- a/service/java/com/android/server/wifi/WifiConnectivityManager.java
+++ b/service/java/com/android/server/wifi/WifiConnectivityManager.java
@@ -1847,6 +1847,7 @@ public class WifiConnectivityManager {
if (!mWifiEnabled) return;
localLog("forceConnectivityScan in request of " + workSource);
+ clearConnectionAttemptTimeStamps();
mWaitForFullBandScanResults = true;
startForcedSingleScan(true, workSource);
}