improve debugging output
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue Sep 02 15:17:43 2008 -0700 (17 months ago)
changeset 3586692e616413a3
parent 3585 0404af4cacf0
child 3587 53e2e87aebd0
improve debugging output
src/devices/wifi/wifi-phy.cc
     1.1 --- a/src/devices/wifi/wifi-phy.cc	Tue Sep 02 11:39:26 2008 -0700
     1.2 +++ b/src/devices/wifi/wifi-phy.cc	Tue Sep 02 15:17:43 2008 -0700
     1.3 @@ -487,7 +487,7 @@
     1.4  void 
     1.5  WifiPhy::SendPacket (Ptr<const Packet> packet, WifiMode txMode, WifiPreamble preamble, uint8_t txPower)
     1.6  {
     1.7 -  NS_LOG_FUNCTION (this << packet << txMode << preamble << txPower);
     1.8 +  NS_LOG_FUNCTION (this << packet << txMode << preamble << (uint32_t)txPower);
     1.9    /* Transmission can happen if:
    1.10     *  - we are syncing on a packet. It is the responsability of the
    1.11     *    MAC layer to avoid doing this but the PHY does nothing to