diff --git a/src/core/thread/mle.cpp b/src/core/thread/mle.cpp index 365540466..b9d88db12 100644 --- a/src/core/thread/mle.cpp +++ b/src/core/thread/mle.cpp @@ -619,6 +619,12 @@ bool Mle::IsRouterOrLeader(void) const void Mle::SetStateDetached(void) { +#if OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE + if (Get().IsCslEnabled()) + { + IgnoreError(Get().EnableCsl(0, GetParent().GetRloc16(), &GetParent().GetExtAddress())); + } +#endif #if OPENTHREAD_FTD && OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE Get().Reset(); #endif