Bug 1691 - RTS/CTS NAV reset prematurely
authorDaniel Lertpratchya <nikkipui@gmail.com>
Mon, 14 Oct 2013 10:27:43 -0400
changeset 10216 48e0bcbc4281
parent 10215 b34e722a7db1
child 10217 1eee1a24836d
Bug 1691 - RTS/CTS NAV reset prematurely
RELEASE_NOTES
src/wifi/model/mac-low.cc
--- a/RELEASE_NOTES	Sun Oct 13 18:20:40 2013 +0100
+++ b/RELEASE_NOTES	Mon Oct 14 10:27:43 2013 -0400
@@ -29,6 +29,7 @@
 - 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
 =============
--- a/src/wifi/model/mac-low.cc	Sun Oct 13 18:20:40 2013 +0100
+++ b/src/wifi/model/mac-low.cc	Mon Oct 14 10:27:43 2013 -0400
@@ -1159,7 +1159,7 @@
 void
 MacLow::NavCounterResetCtsMissed (Time rtsEndRxTime)
 {
-  if (m_phy->GetLastRxStartTime () > rtsEndRxTime)
+  if (m_phy->GetLastRxStartTime () < rtsEndRxTime)
     {
       DoNavResetNow (Seconds (0.0));
     }