if the backoff end is now, the backoff is expired.
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 15 Nov 2007 14:50:27 +0100
changeset 2128 fbcd6a2dc392
parent 2127 2707cb71f6dc
child 2129 32f0e5c1a4d6
if the backoff end is now, the backoff is expired.
src/devices/wifi/dcf-manager.cc
--- a/src/devices/wifi/dcf-manager.cc	Thu Nov 15 14:42:16 2007 +0100
+++ b/src/devices/wifi/dcf-manager.cc	Thu Nov 15 14:50:27 2007 +0100
@@ -226,7 +226,7 @@
             {
               DcfState *state = *j;
               if (state->NeedsAccess () &&
-                  GetBackoffEndFor (state) < Simulator::Now ())
+                  GetBackoffEndFor (state) <= Simulator::Now ())
                 {
                   MY_DEBUG ("dcf " << k << " needs access. backoff expired. internal collision.");
                   /**