Sync up state with supplicant at start
Bug: 5534039 Change-Id: I70b3e03b3039877b3c64167d0d246346f9131fc6
This commit is contained in:
@@ -2541,6 +2541,10 @@ public class WifiStateMachine extends StateMachine {
|
||||
} else {
|
||||
WifiNative.setScanResultHandling(CONNECT_MODE);
|
||||
WifiNative.reconnect();
|
||||
// Status pulls in the current supplicant state and network connection state
|
||||
// events over the monitor connection. This helps framework sync up with
|
||||
// current supplicant state
|
||||
WifiNative.status();
|
||||
transitionTo(mDisconnectedState);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user