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

(-)a/ns3/ns-allinone-3.14.1/ns-3.14.1/src/wifi/model/block-ack-manager.cc (-1 / +1 lines)
 Lines 240-248   BlockAckManager::GetNextPacket (WifiMacHeader &hdr) Link Here 
240
{
240
{
241
  NS_LOG_FUNCTION (this);
241
  NS_LOG_FUNCTION (this);
242
  Ptr<const Packet> packet = 0;
242
  Ptr<const Packet> packet = 0;
243
  CleanupBuffers ();
243
  if (m_retryPackets.size () > 0)
244
  if (m_retryPackets.size () > 0)
244
    {
245
    {
245
      CleanupBuffers ();
246
      PacketQueueI queueIt = m_retryPackets.front ();
246
      PacketQueueI queueIt = m_retryPackets.front ();
247
      packet = queueIt->packet;
247
      packet = queueIt->packet;
248
      hdr = queueIt->hdr;
248
      hdr = queueIt->hdr;

Return to bug 1913