diff --git a/src/lte/helper/lena-helper.cc b/src/lte/helper/lena-helper.cc index 8879ae639..c6e9e154d 100644 --- a/src/lte/helper/lena-helper.cc +++ b/src/lte/helper/lena-helper.cc @@ -156,9 +156,8 @@ LenaHelper::InstallSingleEnbDevice (Ptr n) m_uplinkChannel->AddRx (ulPhy); Ptr mac = CreateObject (); - Ptr sched = m_scheduler.Create (); - //Ptr sched = Create (); - Ptr rrc = Create (); + Ptr sched = m_scheduler.Create (); + Ptr rrc = CreateObject (); Ptr dev = CreateObject (n, phy, mac, sched, rrc); phy->SetDevice (dev); dlPhy->SetDevice (dev); @@ -199,7 +198,7 @@ LenaHelper::InstallSingleUeDevice (Ptr n) m_downlinkChannel->AddRx (dlPhy); Ptr mac = CreateObject (); - Ptr rrc = Create (); + Ptr rrc = CreateObject (); Ptr dev = CreateObject (n, phy, mac, rrc); phy->SetDevice (dev); dlPhy->SetDevice (dev);