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

Commit aff3bd69 authored by sunil duttu's avatar sunil duttu Committed by Dmitry Shmidt
Browse files

framework:When turn off of SoftAp immediately call turning ON SoftAp

Due to sub system restart,There is state change of softAp tether state machine
in tethered state triggering turnoff SoftAp this should be
follwed by turnon softap.

Change-Id: I93051f17bcaae72ae0694f1f23557cc1d3bea280
parent e3f2735f
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -3983,6 +3983,7 @@ public class WifiStateMachine extends StateMachine {
                    if (!isWifiTethered(stateChange.active)) {
                    if (!isWifiTethered(stateChange.active)) {
                        loge("Tethering reports wifi as untethered!, shut down soft Ap");
                        loge("Tethering reports wifi as untethered!, shut down soft Ap");
                        setWifiApEnabled(null, false);
                        setWifiApEnabled(null, false);
                        setWifiApEnabled(null, true);
                    }
                    }
                    return HANDLED;
                    return HANDLED;
                case CMD_STOP_AP:
                case CMD_STOP_AP: