diff --git a/src/core/config/mle.h b/src/core/config/mle.h index e6131bd49..5bc576c26 100644 --- a/src/core/config/mle.h +++ b/src/core/config/mle.h @@ -190,7 +190,7 @@ * */ #ifndef OPENTHREAD_CONFIG_MLE_SEND_LINK_REQUEST_ON_ADV_TIMEOUT -#define OPENTHREAD_CONFIG_MLE_SEND_LINK_REQUEST_ON_ADV_TIMEOUT 0 +#define OPENTHREAD_CONFIG_MLE_SEND_LINK_REQUEST_ON_ADV_TIMEOUT 1 #endif /** diff --git a/tests/scripts/thread-cert/Cert_9_2_15_PendingPartition.py b/tests/scripts/thread-cert/Cert_9_2_15_PendingPartition.py index bde7ce2f6..f73e99f6b 100755 --- a/tests/scripts/thread-cert/Cert_9_2_15_PendingPartition.py +++ b/tests/scripts/thread-cert/Cert_9_2_15_PendingPartition.py @@ -125,6 +125,7 @@ class Cert_9_2_15_PendingPartition(thread_cert.TestCase): self.nodes[ROUTER2].reset() self._setUpRouter2() + self.simulator.go(100) self.nodes[COMMISSIONER].send_mgmt_pending_set( pending_timestamp=20, @@ -133,7 +134,7 @@ class Cert_9_2_15_PendingPartition(thread_cert.TestCase): mesh_local='fd00:0db7::', panid=PANID_FINAL, ) - self.simulator.go(101) + self.simulator.go(100) self.nodes[ROUTER2].start() self.simulator.go(5) diff --git a/tests/toranj/openthread-core-toranj-config.h b/tests/toranj/openthread-core-toranj-config.h index bd4d063d1..885643d64 100644 --- a/tests/toranj/openthread-core-toranj-config.h +++ b/tests/toranj/openthread-core-toranj-config.h @@ -339,14 +339,6 @@ */ #define OPENTHREAD_CONFIG_MLE_INFORM_PREVIOUS_PARENT_ON_REATTACH 1 -/** - * @def OPENTHREAD_CONFIG_MLE_SEND_LINK_REQUEST_ON_ADV_TIMEOUT - * - * Define to 1 to send an MLE Link Request when MAX_NEIGHBOR_AGE is reached for a neighboring router. - * - */ -#define OPENTHREAD_CONFIG_MLE_SEND_LINK_REQUEST_ON_ADV_TIMEOUT 1 - /** * @def OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE *