summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorJimmy Chen <jimmycmchen@google.com>2020-06-16 10:38:21 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-06-16 10:38:21 +0000
commitd55c93975fdf9e156889bf2c35920b609631600c (patch)
treef2d3fc23706d37f767b22447c702768a12546179 /service
parentd359df6adeb862d0d2b4696200ae5588bfa1ec66 (diff)
parente3706635b367d49b72c29317879a4e017de97ca1 (diff)
wifi: handle EAP session renewing case for GSM auth am: e3706635b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/11837782 Change-Id: Idb3cbebd671abbf2c3f109a7ffab271a9c17c7f0
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 6b6c39d7c..18d8f7a67 100644
--- a/service/java/com/android/server/wifi/ClientModeImpl.java
+++ b/service/java/com/android/server/wifi/ClientModeImpl.java
@@ -5822,6 +5822,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;