From 4bf95c6c7b5bff3fc15ace9508100829b01551df Mon Sep 17 00:00:00 2001 From: Rongli Sun Date: Sun, 16 Feb 2020 14:39:21 +0800 Subject: [PATCH] [network-data] remove `ClearResubmitDelayTimer()` in `UpdateRloc()` (#4485) `UpdateRloc()`, which happens before checking network data consistence, should not `ClearResubmitDelayTimer()` to guarantee the DATA_RESUBMIT_DELAY before resending when there is inconsistence. --- src/core/thread/network_data_local.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/thread/network_data_local.cpp b/src/core/thread/network_data_local.cpp index 852a4abf7..df8fa3096 100644 --- a/src/core/thread/network_data_local.cpp +++ b/src/core/thread/network_data_local.cpp @@ -344,8 +344,6 @@ void Local::UpdateRloc(void) break; } } - - ClearResubmitDelayTimer(); } otError Local::SendServerDataNotification(void)