wifi: Do not peek packets if a container queue does not have a mask for
a given link If no mask exists for the given link, it means packets of that container queue cannot be sent on that link.
This commit is contained in:
@@ -394,7 +394,7 @@ QosTxop::PeekNextMpdu(uint8_t linkId, uint8_t tid, Mac48Address recipient, Ptr<c
|
||||
}
|
||||
WifiContainerQueueId queueId(WIFI_QOSDATA_QUEUE, WIFI_UNICAST, recipient, tid);
|
||||
if (auto mask = m_mac->GetMacQueueScheduler()->GetQueueLinkMask(m_ac, queueId, linkId);
|
||||
!mask || mask->none())
|
||||
mask && mask->none())
|
||||
{
|
||||
return m_queue->PeekByQueueId(queueId, mpdu);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user