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

Commit 2159927f authored by Irfan Sheriff's avatar Irfan Sheriff Committed by Android (Google) Code Review
Browse files

Merge "Fix handling in DisconnectingState" into ics-mr0

parents 957ad44e 2d57d860
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -3043,9 +3043,14 @@ public class WifiStateMachine extends StateMachine {
                        deferMessage(message);
                    }
                    break;
                    /* Handle in  DisconnectedState */
                case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT:
                    /* If we get a SUPPLICANT_STATE_CHANGE_EVENT before NETWORK_DISCONNECTION_EVENT
                     * we have missed the network disconnection, transition to mDisconnectedState
                     * and handle the rest of the events there
                     */
                    deferMessage(message);
                    handleNetworkDisconnect();
                    transitionTo(mDisconnectedState);
                    break;
                default:
                    return NOT_HANDLED;