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

Commit 89f2ea6f authored by Irfan Sheriff's avatar Irfan Sheriff
Browse files

Remove interface disable in wifistatemachine

Supplicant now handles interface disable/enable on its own

Change-Id: Ib104989dd49654befff82261cc531b0646c7b15d
parent 007fc721
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1439,9 +1439,6 @@ public class WifiStateMachine extends StateMachine {
            mDhcpStateMachine = null;
        }

        /* Disable interface */
        NetworkUtils.disableInterface(mInterfaceName);

        /* Reset data structures */
        mWifiInfo.setInetAddress(null);
        mWifiInfo.setBSSID(null);