View | Details | Raw Unified | Return to bug 595
Collapse All | Expand All

(-)a/src/devices/wifi/dcf-manager.cc (-1 / +1 lines)
 Lines 577-583    Link Here 
577
    //this may be caused only if PHY has started to receive a packet
577
    //this may be caused only if PHY has started to receive a packet
578
    //inside SIFS, so, we check that lastRxStart was maximum a SIFS
578
    //inside SIFS, so, we check that lastRxStart was maximum a SIFS
579
    //ago
579
    //ago
580
    NS_ASSERT(Simulator::Now () - m_lastRxStart < m_sifs);
580
    NS_ASSERT(Simulator::Now () - m_lastRxStart <= m_sifs);
581
    m_lastRxEnd = Simulator::Now ();
581
    m_lastRxEnd = Simulator::Now ();
582
    m_lastRxDuration = m_lastRxEnd - m_lastRxStart;
582
    m_lastRxDuration = m_lastRxEnd - m_lastRxStart;
583
    m_lastRxReceivedOk = true;
583
    m_lastRxReceivedOk = true;

Return to bug 595