remove tracing information about aggregate queue flushing when aggregate queue is empty

This commit is contained in:
Sébastien Deronne
2015-05-17 12:50:59 +02:00
parent 98bf5861f3
commit 72e8f65b8a

View File

@@ -2847,8 +2847,11 @@ MacLow::AggregateToAmpdu (Ptr<const Packet> packet, const WifiMacHeader hdr)
void
MacLow::FlushAggregateQueue (void)
{
NS_LOG_DEBUG("Flush aggregate queue");
m_aggregateQueue->Flush ();
if (m_aggregateQueue->GetSize () > 0)
{
NS_LOG_DEBUG("Flush aggregate queue");
m_aggregateQueue->Flush ();
}
m_txPackets.clear ();
}