wifi: Remove unnecessary assert hit when creating a non-HT duplicate PSD for 80+80MHz operating channel

This commit is contained in:
Sébastien Deronne
2024-09-08 12:00:36 +02:00
committed by Sébastien Deronne
parent 32a2883385
commit 777bd2f480

View File

@@ -357,7 +357,6 @@ Ptr<SpectrumValue>
OfdmPhy::GetTxPowerSpectralDensity(double txPowerW, Ptr<const WifiPpdu> ppdu) const
{
const auto& centerFrequencies = ppdu->GetTxCenterFreqs();
NS_ASSERT(centerFrequencies.size() == 1);
const auto& txVector = ppdu->GetTxVector();
const auto channelWidth = txVector.GetChannelWidth();
NS_LOG_FUNCTION(this << centerFrequencies.front() << channelWidth << txPowerW);