wifi: Remove redundant (and incorrect) condition in MPDU aggregator

This commit is contained in:
Stefano Avallone
2024-05-19 10:57:14 +02:00
parent 05cb5ea88d
commit ee09494ddf

View File

@@ -162,7 +162,7 @@ MpduAggregator::GetMaxAmpduSize(Mac48Address recipient,
maxAmpduSize = std::min(maxAmpduSize, ehtCapabilities->GetMaxAmpduLength());
}
else if (modulation >= WIFI_MOD_CLASS_HE || m_mac->Is6GhzBand(m_linkId))
else if (modulation >= WIFI_MOD_CLASS_HE)
{
NS_ABORT_MSG_IF(!heCapabilities, "HE Capabilities element not received");