Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 576db761 authored by Irfan Sheriff's avatar Irfan Sheriff
Browse files

Sync up state with supplicant at start

Bug: 5534039
Change-Id: I70b3e03b3039877b3c64167d0d246346f9131fc6
parent 044a0b8a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);
            }
        }