From 0b43b4fdc2d4fe223c1c5f59fe58e41384b8075c Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Thu, 29 Nov 2007 16:28:16 +0100 Subject: [PATCH] the bool check was inverted. reported by Federico Maguolo. --- src/devices/wifi/mac-low.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/wifi/mac-low.cc b/src/devices/wifi/mac-low.cc index 647ea4083..379a3baf3 100644 --- a/src/devices/wifi/mac-low.cc +++ b/src/devices/wifi/mac-low.cc @@ -948,11 +948,11 @@ MacLow::IsNavZero (void) const { if (m_lastNavStart + m_lastNavDuration > Simulator::Now ()) { - return false; + return true; } else { - return true; + return false; } }