From a90aee32a0d00b8fef9abf2bf0641b45fe58ec40 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Thu, 18 Oct 2007 12:20:17 +0200 Subject: [PATCH] clear the list of NetDevice --- src/devices/wifi/wifi-channel.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)