the bool check was inverted. reported by Federico Maguolo.
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 29 Nov 2007 16:28:16 +0100
changeset 2172 eb1adef495b6
parent 2171 ac7f5126fd7e
child 2173 7437d8a72987
the bool check was inverted. reported by Federico Maguolo.
src/devices/wifi/mac-low.cc
--- a/src/devices/wifi/mac-low.cc	Thu Nov 29 16:03:01 2007 +0100
+++ b/src/devices/wifi/mac-low.cc	Thu Nov 29 16:28:16 2007 +0100
@@ -948,11 +948,11 @@
 {
   if (m_lastNavStart + m_lastNavDuration > Simulator::Now ()) 
     {
-      return false;
+      return true;
     } 
   else 
     {
-      return true;
+      return false;
     }
 }