summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Jiang <qiangjiang@google.com>2020-03-16 01:00:10 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-03-16 01:00:10 +0000
commit43928f3b36df2287b4f512969b418188cf3b2d44 (patch)
treee916dd9f82d5f333bb60fc82347ba00ec6dcac44
parent3a7931c3e9755f5ce80304bf2f97b8027b8b5824 (diff)
parent1332ed209c6d66c332e13b94b4786699134e20a7 (diff)
Merge "Fix the user disconnect" into rvc-dev
-rw-r--r--libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java
index e72914bce..642313a2b 100644
--- a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java
+++ b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java
@@ -366,7 +366,7 @@ public class StandardWifiEntry extends WifiEntry {
DisconnectCallback.DISCONNECT_STATUS_FAILURE_UNKNOWN);
}
}, 10_000 /* delayMillis */);
- mWifiManager.disableEphemeralNetwork(mSsid);
+ mWifiManager.disableEphemeralNetwork(mWifiConfig.SSID);
mWifiManager.disconnect();
}
}