src/devices/wifi/mac-low.cc
changeset 5846 f7a4e1b3f632
parent 5819 514ec98954ab
child 5954 2b9e06875b69
child 6065 0f012e7d9128
--- a/src/devices/wifi/mac-low.cc	Thu Dec 10 12:40:07 2009 +0100
+++ b/src/devices/wifi/mac-low.cc	Thu Dec 10 12:42:20 2009 +0100
@@ -303,7 +303,15 @@
 MacLow::DoDispose (void)
 {
   NS_LOG_FUNCTION (this);
-  CancelAllEvents ();
+  m_normalAckTimeoutEvent.Cancel ();
+  m_fastAckTimeoutEvent.Cancel ();
+  m_superFastAckTimeoutEvent.Cancel ();
+  m_fastAckFailedTimeoutEvent.Cancel ();
+  m_ctsTimeoutEvent.Cancel ();
+  m_sendCtsEvent.Cancel ();
+  m_sendAckEvent.Cancel ();
+  m_sendDataEvent.Cancel ();
+  m_waitSifsEvent.Cancel ();
   m_phy = 0;
   m_stationManager = 0;
   delete m_phyMacLowListener;