mirror of
https://github.com/espressif/openthread.git
synced 2026-08-14 14:47:46 +00:00
[dua] delay DUA registration to avoid transmission failure (#5893)
This commit is contained in:
@@ -321,7 +321,7 @@ void DuaManager::HandleNotifierEvents(Events aEvents)
|
||||
else if (mle.IsExpectedToBecomeRouter())
|
||||
{
|
||||
// Will check again in case the device decides to stay REED when jitter timeout expires.
|
||||
UpdateRegistrationDelay(mle.GetRouterSelectionJitterTimeout() + 1);
|
||||
UpdateRegistrationDelay(mle.GetRouterSelectionJitterTimeout() + kNewRouterRegistrationDelay + 1);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@ public:
|
||||
private:
|
||||
enum
|
||||
{
|
||||
kNewRouterRegistrationDelay = 5, ///< Delay (in seconds) for waiting link establishment for a new Router.
|
||||
kNewRouterRegistrationDelay = 3, ///< Delay (in seconds) for waiting link establishment for a new Router.
|
||||
};
|
||||
|
||||
#if OPENTHREAD_CONFIG_DUA_ENABLE
|
||||
|
||||
Reference in New Issue
Block a user