From 754165eb40e75867fb392cd747e63c0da0f86410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Tue, 29 Aug 2023 21:49:40 +0200 Subject: [PATCH] wifi: DoChannelSwitch should not be public --- src/wifi/model/spectrum-wifi-phy.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wifi/model/spectrum-wifi-phy.h b/src/wifi/model/spectrum-wifi-phy.h index d8e3d534b..22d05c110 100644 --- a/src/wifi/model/spectrum-wifi-phy.h +++ b/src/wifi/model/spectrum-wifi-phy.h @@ -131,10 +131,6 @@ class SpectrumWifiPhy : public WifiPhy double rxPower, Time duration); - // The following method calls the base WifiPhy class method - // but also generates a new SpectrumModel if called during runtime - void DoChannelSwitch() override; - /** * This function is sending the signal to the Spectrum channel * after finishing the configuration of the transmit parameters. @@ -162,6 +158,10 @@ class SpectrumWifiPhy : public WifiPhy void DoDispose() override; void DoInitialize() override; + // The following method calls the base WifiPhy class method + // but also generates a new SpectrumModel if called during runtime + void DoChannelSwitch() override; + std::map> m_spectrumPhyInterfaces; //!< Spectrum PHY interfaces