summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/ClientModeImpl.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/ClientModeImpl.java b/service/java/com/android/server/wifi/ClientModeImpl.java
index e10d5367e..10a41f5dc 100644
--- a/service/java/com/android/server/wifi/ClientModeImpl.java
+++ b/service/java/com/android/server/wifi/ClientModeImpl.java
@@ -5852,6 +5852,9 @@ public class ClientModeImpl extends StateMachine {
&& mTargetWifiConfiguration.networkId
== requestData.networkId) {
logd("id matches targetWifiConfiguration");
+ } else if (mLastNetworkId != WifiConfiguration.INVALID_NETWORK_ID
+ && mLastNetworkId == requestData.networkId) {
+ logd("id matches currentWifiConfiguration");
} else {
logd("id does not match targetWifiConfiguration");
return;