wifi: Remove unused variable in default protection manager

This commit is contained in:
Stefano Avallone
2024-08-28 11:49:38 +02:00
parent 1ca0cc8cd9
commit ea55edc384

View File

@@ -264,7 +264,6 @@ WifiDefaultProtectionManager::TryAddMpduToMuPpdu(Ptr<const WifiMpdu> mpdu,
{
// we get here if this is the first MPDU for this receiver.
NS_ABORT_MSG_IF(m_mac->GetTypeOfStation() != AP, "HE APs only can send DL MU PPDUs");
auto apMac = StaticCast<ApWifiMac>(m_mac);
auto modClass = txParams.m_txVector.GetModulationClass();
auto txWidth = modClass == WIFI_MOD_CLASS_DSSS || modClass == WIFI_MOD_CLASS_HR_DSSS
? 20