From 01d2d77a76afa04c023af959ec4fe2abce55171c Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Thu, 15 Nov 2007 13:03:09 +0100 Subject: [PATCH] backoff is finished when the end of backoff is _equal_ to now. --- src/devices/wifi/dcf-manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/wifi/dcf-manager.cc b/src/devices/wifi/dcf-manager.cc index 9ffbb75db..7b93da140 100644 --- a/src/devices/wifi/dcf-manager.cc +++ b/src/devices/wifi/dcf-manager.cc @@ -220,7 +220,7 @@ DcfManager::DoGrantAccess (void) { DcfState *state = *i; if (state->NeedsAccess () && - GetBackoffEndFor (state) < Simulator::Now ()) + GetBackoffEndFor (state) <= Simulator::Now ()) { /** * This is the first dcf we find with an expired backoff and which