From db52ebe3c795f0632701daf9c53edf9831be464c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Tue, 2 May 2023 21:10:03 +0200 Subject: [PATCH] wifi: Simplify check in EhtPpdu constructor --- src/wifi/model/eht/eht-ppdu.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wifi/model/eht/eht-ppdu.cc b/src/wifi/model/eht/eht-ppdu.cc index 4b6c76667..51d4b6329 100644 --- a/src/wifi/model/eht/eht-ppdu.cc +++ b/src/wifi/model/eht/eht-ppdu.cc @@ -45,7 +45,7 @@ EhtPpdu::EhtPpdu(const WifiConstPsduMap& psdus, // - store the MCS and the number of streams for the data field // because this is not done by the parent class. // This is a workaround needed until we properly implement 11be PHY headers. - if (ns3::IsDlMu(m_preamble) && !txVector.IsDlMu()) + if (!txVector.IsMu()) { m_ehtSuMcs = txVector.GetMode().GetMcsValue(); m_ehtSuNStreams = txVector.GetNss();