src/wifi/model/adhoc-wifi-mac.cc
changeset 9705 43fa2408aa05
parent 7385 10beb0e53130
child 10410 4d4eb8097fa3
--- a/src/wifi/model/adhoc-wifi-mac.cc	Sat Apr 20 00:29:36 2013 +0200
+++ b/src/wifi/model/adhoc-wifi-mac.cc	Sat Apr 20 00:30:06 2013 +0200
@@ -68,6 +68,7 @@
 void
 AdhocWifiMac::SetAddress (Mac48Address address)
 {
+  NS_LOG_FUNCTION (this << address);
   // In an IBSS, the BSSID is supposed to be generated per Section
   // 11.1.3 of IEEE 802.11. We don't currently do this - instead we
   // make an IBSS STA a bit like an AP, with the BSSID for frames
@@ -152,7 +153,7 @@
 void
 AdhocWifiMac::SetLinkUpCallback (Callback<void> linkUp)
 {
-  NS_LOG_FUNCTION (this);
+  NS_LOG_FUNCTION (this << &linkUp);
   RegularWifiMac::SetLinkUpCallback (linkUp);
 
   // The approach taken here is that, from the point of view of a STA