src/devices/wifi/adhoc-wifi-mac.cc
changeset 4264 9d2e96c4e6e4
parent 4263 fec2f830d015
child 4272 b40ce56e0247
--- a/src/devices/wifi/adhoc-wifi-mac.cc	Sat Feb 28 16:25:24 2009 -0800
+++ b/src/devices/wifi/adhoc-wifi-mac.cc	Tue Mar 10 23:47:55 2009 -0700
@@ -235,7 +235,7 @@
       destination->RecordDisassociated ();
     }
 
-  m_macTxTrace (packet);
+  NotifyTx (packet);
   m_dca->Queue (packet, hdr);
 }
 bool 
@@ -248,7 +248,7 @@
 AdhocWifiMac::ForwardUp (Ptr<Packet> packet, WifiMacHeader const *hdr)
 {
   NS_LOG_DEBUG ("received size="<<packet->GetSize ()<<", from="<<hdr->GetAddr2 ());
-  m_macRxTrace (packet);
+  NotifyRx (packet);
   m_upCallback (packet, hdr->GetAddr2 (), hdr->GetAddr1 ());
 }
 Ptr<DcaTxop>