mirror of
https://github.com/espressif/openthread.git
synced 2026-08-07 03:07:47 +00:00
[dua] avoid unnecessary log (#6591)
This commit is contained in:
@@ -307,6 +307,8 @@ void DuaManager::HandleNotifierEvents(Events aEvents)
|
||||
{
|
||||
Mle::MleRouter &mle = Get<Mle::MleRouter>();
|
||||
|
||||
VerifyOrExit(mle.IsAttached(), mDelay.mValue = 0);
|
||||
|
||||
if (aEvents.Contains(kEventThreadRoleChanged))
|
||||
{
|
||||
if (mle.HasRestored())
|
||||
@@ -333,6 +335,9 @@ void DuaManager::HandleNotifierEvents(Events aEvents)
|
||||
UpdateRegistrationDelay(kNewDuaRegistrationDelay);
|
||||
}
|
||||
#endif
|
||||
|
||||
exit:
|
||||
return;
|
||||
}
|
||||
|
||||
void DuaManager::HandleBackboneRouterPrimaryUpdate(BackboneRouter::Leader::State aState,
|
||||
|
||||
Reference in New Issue
Block a user