From 245dfdadd8f54986e739009c7e0dfde278f19793 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Tue, 10 Jun 2008 16:22:12 -0700 Subject: [PATCH] print the tx power, not a random character --- src/devices/wifi/wifi-phy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/wifi/wifi-phy.cc b/src/devices/wifi/wifi-phy.cc index 862314af1..9120466db 100644 --- a/src/devices/wifi/wifi-phy.cc +++ b/src/devices/wifi/wifi-phy.cc @@ -487,7 +487,7 @@ WifiPhy::StartReceivePacket (Ptr packet, void WifiPhy::SendPacket (Ptr packet, WifiMode txMode, WifiPreamble preamble, uint8_t txPower) { - NS_LOG_FUNCTION (this << packet << txMode << preamble << txPower); + NS_LOG_FUNCTION (this << packet << txMode << preamble << (uint32_t)txPower); /* Transmission can happen if: * - we are syncing on a packet. It is the responsability of the * MAC layer to avoid doing this but the PHY does nothing to