From c2bd12e525c92d0462461bc2f65df7f10a70822b Mon Sep 17 00:00:00 2001 From: Daniel Lertpratchya Date: Mon, 14 Oct 2013 10:27:43 -0400 Subject: [PATCH] Bug 1691 - RTS/CTS NAV reset prematurely --- RELEASE_NOTES | 1 + src/wifi/model/mac-low.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES b/RELEASE_NOTES index e2868f257..1f3c2e3c7 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -29,6 +29,7 @@ Bugs fixed - Bug 1722 - beacons transmitted concurrently - Bug 1616 - WifiPhyStateHelper reports false CCA_BUSY times at State trace source - Bug 1011 - assert failed. file=../src/devices/wifi/dcf-manager.cc +- Bug 1691 - RTS/CTS NAV reset prematurely Release 3.18 ============= diff --git a/src/wifi/model/mac-low.cc b/src/wifi/model/mac-low.cc index 4825071c0..04b412298 100644 --- a/src/wifi/model/mac-low.cc +++ b/src/wifi/model/mac-low.cc @@ -1159,7 +1159,7 @@ MacLow::NotifyNav (Ptr packet,const WifiMacHeader &hdr, WifiMode t void MacLow::NavCounterResetCtsMissed (Time rtsEndRxTime) { - if (m_phy->GetLastRxStartTime () > rtsEndRxTime) + if (m_phy->GetLastRxStartTime () < rtsEndRxTime) { DoNavResetNow (Seconds (0.0)); }