diff --git a/src/devices/wifi/wifi-channel.cc b/src/devices/wifi/wifi-channel.cc index 3677aa106..cd4cc7731 100644 --- a/src/devices/wifi/wifi-channel.cc +++ b/src/devices/wifi/wifi-channel.cc @@ -36,7 +36,9 @@ WifiChannel::WifiChannel () m_delay (PropagationDelayModel::CreateDefault ()) {} WifiChannel::~WifiChannel () -{} +{ + m_deviceList.clear (); +} void WifiChannel::SetPropationLossModel (Ptr loss)