[mle] remove redundant mAttachTimer stop (#3537)

The call to `SetStateDetached()` will stop the attach timer.
This commit is contained in:
Abtin Keshavarzian
2019-01-31 08:49:13 -08:00
committed by Jonathan Hui
parent 0e8967f5ed
commit bd41c63a0a
+1 -1
View File
@@ -3360,7 +3360,7 @@ otError Mle::HandleChildIdResponse(const Message &aMessage, const Ip6::MessageIn
#endif
// Parent Attach Success
mAttachTimer.Stop();
SetStateDetached();
SetLeaderData(leaderData.GetPartitionId(), leaderData.GetWeighting(), leaderData.GetLeaderRouterId());