summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2013-10-09 17:12:13 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-09 17:12:13 -0700
commit7ecedb75c833a746c561dd0029b0accf175033be (patch)
tree999bdebc5eaaf5c501c21533ec598d41bd9bc717
parentd7832a541674b15658a121f04efa3dd7abb127bf (diff)
parentf008ca333a06ed5afe50653dcd2f413a4b490d49 (diff)
downloadframeworks_base-7ecedb75c833a746c561dd0029b0accf175033be.zip
frameworks_base-7ecedb75c833a746c561dd0029b0accf175033be.tar.gz
frameworks_base-7ecedb75c833a746c561dd0029b0accf175033be.tar.bz2
am f008ca33: am f681058f: Merge "Narrow previous fix for this issue." into klp-dev
* commit 'f008ca333a06ed5afe50653dcd2f413a4b490d49': Narrow previous fix for this issue.
-rw-r--r--wifi/java/android/net/wifi/WifiStateMachine.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateMachine.java b/wifi/java/android/net/wifi/WifiStateMachine.java
index cdafd9e..6b4c580 100644
--- a/wifi/java/android/net/wifi/WifiStateMachine.java
+++ b/wifi/java/android/net/wifi/WifiStateMachine.java
@@ -2957,8 +2957,8 @@ public class WifiStateMachine extends StateMachine {
if (mOperationalMode != CONNECT_MODE) {
mWifiNative.disconnect();
+ mWifiConfigStore.disableAllNetworks();
if (mOperationalMode == SCAN_ONLY_WITH_WIFI_OFF_MODE) {
- mWifiConfigStore.disableAllNetworks();
setWifiState(WIFI_STATE_DISABLED);
}
transitionTo(mScanModeState);