src/lte/model/lte-rlc.cc
changeset 9497 bd3e1a06df5c
parent 9451 116fd6ad4640
child 9596 4f09f4b739ac
--- a/src/lte/model/lte-rlc.cc	Fri Dec 07 12:56:54 2012 +0100
+++ b/src/lte/model/lte-rlc.cc	Fri Dec 07 13:34:53 2012 +0100
@@ -109,12 +109,6 @@
 }
 
 void
-LteRlcSm::DoDispose ()
-{
-  NS_LOG_FUNCTION (this);
-}
-
-void
 LteRlc::SetRnti (uint16_t rnti)
 {
   NS_LOG_FUNCTION (this << (uint32_t) rnti);
@@ -171,9 +165,7 @@
 
 LteRlcSm::LteRlcSm ()
 {
-
   NS_LOG_FUNCTION (this);
-  Simulator::ScheduleNow (&LteRlcSm::Start, this);
 }
 
 LteRlcSm::~LteRlcSm ()
@@ -192,6 +184,19 @@
 }
 
 void
+LteRlcSm::DoStart ()
+{
+  NS_LOG_FUNCTION (this);
+  ReportBufferStatus ();
+}
+
+void
+LteRlcSm::DoDispose ()
+{
+  NS_LOG_FUNCTION (this);
+}
+
+void
 LteRlcSm::DoTransmitPdcpPdu (Ptr<Packet> p)
 {
   NS_LOG_FUNCTION (this << p);
@@ -245,13 +250,6 @@
 }
 
 void
-LteRlcSm::Start ()
-{
-  NS_LOG_FUNCTION (this);
-  ReportBufferStatus ();
-}
-
-void
 LteRlcSm::ReportBufferStatus ()
 {
   NS_LOG_FUNCTION (this);