src/devices/wifi/wifi-net-device.cc
changeset 5421 612dd4189fa7
parent 4764 e90e1ef585b0
child 5743 605867b1d6a8
--- a/src/devices/wifi/wifi-net-device.cc	Thu Oct 15 10:53:31 2009 -0700
+++ b/src/devices/wifi/wifi-net-device.cc	Thu Oct 15 13:49:42 2009 +0400
@@ -28,6 +28,9 @@
 #include "ns3/pointer.h"
 #include "ns3/node.h"
 #include "ns3/trace-source-accessor.h"
+#include "ns3/log.h"
+
+NS_LOG_COMPONENT_DEFINE ("WifiNetDevice");
 
 namespace ns3 {
 
@@ -65,13 +68,18 @@
 WifiNetDevice::WifiNetDevice ()
   : m_mtu (0),
     m_configComplete (false)
-{}
+{
+  NS_LOG_FUNCTION_NOARGS ();
+}
 WifiNetDevice::~WifiNetDevice ()
-{}
+{
+  NS_LOG_FUNCTION_NOARGS ();
+}
 
 void
 WifiNetDevice::DoDispose (void)
 {
+  NS_LOG_FUNCTION_NOARGS ();
   m_node = 0;
   m_mac->Dispose ();
   m_phy->Dispose ();