src/devices/wimax/simple-ofdm-wimax-channel.cc
changeset 6344 00368e2fb08e
parent 6199 51d002229ef7
child 6402 088c5e38acb3
--- a/src/devices/wimax/simple-ofdm-wimax-channel.cc	Tue Jun 08 11:41:17 2010 +0200
+++ b/src/devices/wimax/simple-ofdm-wimax-channel.cc	Tue Jun 08 12:01:05 2010 +0200
@@ -158,7 +158,7 @@
             {
               distance = senderMobility->GetDistanceFrom (receiverMobility);
               delay =  Seconds(distance/300000000.0);
-              rxPowerDbm = m_loss->CalcRxPower (rxPowerDbm, senderMobility, receiverMobility);
+              rxPowerDbm = m_loss->CalcRxPower (txPowerDbm, senderMobility, receiverMobility);
             }
           simpleOfdmSendParam * param = new simpleOfdmSendParam (fecBlock,
                                                                  burstSize,