src/devices/wimax/simple-ofdm-wimax-phy.cc
changeset 6199 51d002229ef7
parent 6130 f8c1ac900340
child 6282 533be42b3c7f
--- 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,