mirror of
https://github.com/espressif/openthread.git
synced 2026-08-17 16:09:51 +00:00
[mle] fix MLE Link Accept timeout on resync after boot (#2230)
This commit is contained in:
@@ -1793,8 +1793,13 @@ void MleRouter::HandleStateUpdateTimer(void)
|
||||
break;
|
||||
|
||||
case OT_DEVICE_ROLE_DETACHED:
|
||||
BecomeDetached();
|
||||
ExitNow();
|
||||
if (mChallengeTimeout == 0)
|
||||
{
|
||||
BecomeDetached();
|
||||
ExitNow();
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case OT_DEVICE_ROLE_CHILD:
|
||||
if (routerStateUpdate)
|
||||
|
||||
Reference in New Issue
Block a user