Merge "Fix enabling networks after driver stop" into jb-mr2-dev

This commit is contained in:
Irfan Sheriff
2013-04-16 22:00:10 +00:00
committed by Android (Google) Code Review

View File

@@ -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