diff options
author | Irfan Sheriff <isheriff@google.com> | 2013-04-16 13:52:32 -0700 |
---|---|---|
committer | Irfan Sheriff <isheriff@google.com> | 2013-04-16 14:16:18 -0700 |
commit | b8df5451f416db17dc4c7d5a7e106a861b11ac0a (patch) | |
tree | 6ce5354d14e0d5643e7c786bed5a3c87c5ec212d /wifi/java/android/net | |
parent | 7e157f321c690e41f0f18a556f989fd20709469f (diff) | |
download | frameworks_base-b8df5451f416db17dc4c7d5a7e106a861b11ac0a.zip frameworks_base-b8df5451f416db17dc4c7d5a7e106a861b11ac0a.tar.gz frameworks_base-b8df5451f416db17dc4c7d5a7e106a861b11ac0a.tar.bz2 |
Fix enabling networks after driver stop
Bug: 8630194
Change-Id: If897fc1fe54bf2f35362b8482e56d98f80a3130c
Diffstat (limited to 'wifi/java/android/net')
-rw-r--r-- | wifi/java/android/net/wifi/WifiStateMachine.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateMachine.java b/wifi/java/android/net/wifi/WifiStateMachine.java index a5d98cc..2c3df95 100644 --- a/wifi/java/android/net/wifi/WifiStateMachine.java +++ b/wifi/java/android/net/wifi/WifiStateMachine.java @@ -2383,6 +2383,8 @@ public class WifiStateMachine extends StateMachine { mWifiNative.disconnect(); transitionTo(mScanModeState); } else { + /* Driver stop may have disabled networks, enable right after start */ + mWifiConfigStore.enableAllNetworks(); mWifiNative.reconnect(); // Status pulls in the current supplicant state and network connection state // events over the monitor connection. This helps framework sync up with |