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

Commit b88814f1 authored by Xiao Ma's avatar Xiao Ma Committed by Automerger Merge Worker
Browse files

Merge "Fix the potential double transition in DhcpState#enter" am: dc6686c8...

Merge "Fix the potential double transition in DhcpState#enter" am: dc6686c8 am: a7b4186f am: c3818e87

Change-Id: Iaa3881e4d5165bed5e54d8da4e08243df306f836
parents 79b8d9eb c3818e87
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -959,7 +959,9 @@ public class DhcpClient extends StateMachine {
                Log.e(TAG, "Fail to start DHCP Packet Handler");
            }
            notifyFailure();
            transitionTo(mStoppedState);
            // We cannot call transitionTo because a transition is still in progress.
            // Instead, ensure that we process CMD_STOP_DHCP as soon as the transition is complete.
            deferMessage(obtainMessage(CMD_STOP_DHCP));
        }

        @Override