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; |