diff --git a/src/messaging/ReliableMessageMgr.cpp b/src/messaging/ReliableMessageMgr.cpp index 1107e35ff1a51f..fcf5d0a6078c7e 100644 --- a/src/messaging/ReliableMessageMgr.cpp +++ b/src/messaging/ReliableMessageMgr.cpp @@ -146,9 +146,8 @@ void ReliableMessageMgr::ExecuteActions() messageCounter, ChipLogValueExchange(&entry->ec.Get()), entry->sendCount); // TODO(#15800): Choose active/idle timeout corresponding to the activity of exchanges of the session. System::Clock::Timestamp backoff = - ReliableMessageMgr::GetBackoff(entry->ec->GetSessionHandle()->GetMRPConfig().mIdleRetransTimeout, entry->sendCount); - entry->nextRetransTime = - System::SystemClock().GetMonotonicTimestamp() + backoff; + ReliableMessageMgr::GetBackoff(entry->ec->GetSessionHandle()->GetMRPConfig().mActiveRetransTimeout, entry->sendCount); + entry->nextRetransTime = System::SystemClock().GetMonotonicTimestamp() + backoff; SendFromRetransTable(entry); // For test not using async IO loop, the entry may have been removed after send, do not use entry below