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

Commit 21bd79f5 authored by Vishal Mahaveer's avatar Vishal Mahaveer
Browse files

Wi-Fi: Handle disconnect in middle of DHCP operation



Restore power mode and BT co-ex settings when disconnect
happens in middle of DHCP operation.

Signed-off-by: default avatarVishal Mahaveer <vishalm@ti.com>
parent 12045502
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1621,6 +1621,10 @@ public class WifiStateMachine extends StateMachine {
    private void handleNetworkDisconnect() {
        if (DBG) log("Stopping DHCP and clearing IP");

        /* In case we were in middle of DHCP operation
           restore back powermode */
        handlePostDhcpSetup();

        /*
         * stop DHCP
         */