diff --git a/src/wifi/model/spectrum-wifi-phy.cc b/src/wifi/model/spectrum-wifi-phy.cc index c0db1decc..da51c1b52 100644 --- a/src/wifi/model/spectrum-wifi-phy.cc +++ b/src/wifi/model/spectrum-wifi-phy.cc @@ -421,8 +421,7 @@ SpectrumWifiPhy::StartRx(Ptr rxParams) } NS_LOG_INFO("Received Wi-Fi signal"); - Ptr ppdu = wifiRxParams->ppdu->Copy(); - StartReceivePreamble(ppdu, rxPowerW, rxDuration); + StartReceivePreamble(wifiRxParams->ppdu, rxPowerW, rxDuration); } Ptr