From 538087738debe0ebd12908de504c19729808b170 Mon Sep 17 00:00:00 2001 From: Alberto Gallegos Ramonet Date: Wed, 11 Dec 2024 14:40:20 +0900 Subject: [PATCH] zigbee: Fix RREQ retry timing --- src/zigbee/model/zigbee-nwk.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/zigbee/model/zigbee-nwk.cc b/src/zigbee/model/zigbee-nwk.cc index 61d2ecae6e..7dd1a2f49d 100644 --- a/src/zigbee/model/zigbee-nwk.cc +++ b/src/zigbee/model/zigbee-nwk.cc @@ -2900,8 +2900,7 @@ ZigbeeNwk::SendRREQ(ZigbeeNwkHeader nwkHeader, nwkHeader.GetRadius() != 0) { // Set RREQ RETRIES - Time rreqRetryTime = - Simulator::Now() + m_nwkcRREQRetryInterval + MilliSeconds(m_rreqJitter->GetValue()); + Time rreqRetryTime = m_nwkcRREQRetryInterval + MilliSeconds(m_rreqJitter->GetValue()); Ptr rreqRetryTableEntry; if (m_rreqRetryTable.LookUpEntry(payload.GetRouteReqId(), rreqRetryTableEntry))