mirror of
https://github.com/espressif/openthread.git
synced 2026-10-04 14:57:38 +00:00
[network-data-notifier] fix flag for child removed notification (#4805)
This commit is contained in:
@@ -108,12 +108,12 @@ void Notifier::HandleStateChanged(ot::Notifier::Callback &aCallback, otChangedFl
|
||||
|
||||
void Notifier::HandleStateChanged(otChangedFlags aFlags)
|
||||
{
|
||||
if (aFlags & (OT_CHANGED_THREAD_ROLE | OT_NEIGHBOR_TABLE_EVENT_CHILD_REMOVED))
|
||||
if (aFlags & (OT_CHANGED_THREAD_ROLE | OT_CHANGED_THREAD_CHILD_REMOVED))
|
||||
{
|
||||
mNextDelay = 0;
|
||||
}
|
||||
|
||||
if (aFlags & (OT_CHANGED_THREAD_NETDATA | OT_CHANGED_THREAD_ROLE | OT_NEIGHBOR_TABLE_EVENT_CHILD_REMOVED))
|
||||
if (aFlags & (OT_CHANGED_THREAD_NETDATA | OT_CHANGED_THREAD_ROLE | OT_CHANGED_THREAD_CHILD_REMOVED))
|
||||
{
|
||||
SynchronizeServerData();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user