--- a/src/devices/wimax/simple-ofdm-wimax-phy.cc Wed Apr 14 23:11:50 2010 -0700
+++ b/src/devices/wimax/simple-ofdm-wimax-phy.cc Thu Apr 15 09:32:31 2010 +0200
@@ -311,12 +311,7 @@
}
else
{
- Simulator::Schedule (Seconds (0),
- &SimpleOfdmWimaxPhy::StartSendFecBlock,
- this,
- false,
- modulationType,
- direction);
+ StartSendFecBlock(false,modulationType,direction);
}
}
@@ -392,7 +387,7 @@
SetBlockParameters (burstSize, modulationType);
m_blockTime = GetBlockTransmissionTime (modulationType);
}
- Simulator::Schedule (Seconds (0),
+ Simulator::Schedule (m_blockTime,
&SimpleOfdmWimaxPhy::EndReceiveFecBlock,
this,
fecBlock,