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

Commit 3a65de79 authored by Irfan Sheriff's avatar Irfan Sheriff
Browse files

Initialize network state on start

Bug: 2542613
Change-Id: I5b16b2dc866c7f25bc61f1a04cf5fa9938ec2c3e
parent 320a4bed
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2184,6 +2184,8 @@ public class WifiStateMachine extends HierarchicalStateMachine {
            setCountryCode();
            /* set frequency band of operation */
            setFrequencyBand();
            /* initialize network state */
            setNetworkDetailedState(DetailedState.DISCONNECTED);

            if (mIsScanMode) {
                WifiNative.setScanResultHandlingCommand(SCAN_ONLY_MODE);