equal
deleted
inserted
replaced
224 k++; |
224 k++; |
225 for (States::const_iterator j = i; j != m_states.end (); j++, k++) |
225 for (States::const_iterator j = i; j != m_states.end (); j++, k++) |
226 { |
226 { |
227 DcfState *state = *j; |
227 DcfState *state = *j; |
228 if (state->NeedsAccess () && |
228 if (state->NeedsAccess () && |
229 GetBackoffEndFor (state) < Simulator::Now ()) |
229 GetBackoffEndFor (state) <= Simulator::Now ()) |
230 { |
230 { |
231 MY_DEBUG ("dcf " << k << " needs access. backoff expired. internal collision."); |
231 MY_DEBUG ("dcf " << k << " needs access. backoff expired. internal collision."); |
232 /** |
232 /** |
233 * all other dcfs with a lower priority whose backoff |
233 * all other dcfs with a lower priority whose backoff |
234 * has expired and which needed access to the medium |
234 * has expired and which needed access to the medium |