mirror of
https://github.com/espressif/openthread.git
synced 2026-08-12 13:47:47 +00:00
[mle] remove redundant mAttachTimer stop (#3537)
The call to `SetStateDetached()` will stop the attach timer.
This commit is contained in:
committed by
Jonathan Hui
parent
0e8967f5ed
commit
bd41c63a0a
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user