fixed bug in LteEnbRrc about when to use RLC AM for a DRB
authorNicola Baldo <nbaldo@cttc.es>
Mon, 18 Mar 2013 18:30:23 +0100
changeset 9670 ff49b1defa8b
parent 9669 eb758c67f9f2
child 9671 56bf50f45a64
child 9687 a5f50a5bb6f6
fixed bug in LteEnbRrc about when to use RLC AM for a DRB
src/lte/model/lte-enb-rrc.cc
--- a/src/lte/model/lte-enb-rrc.cc	Fri Feb 22 13:30:50 2013 +0100
+++ b/src/lte/model/lte-enb-rrc.cc	Mon Mar 18 18:30:23 2013 +0100
@@ -382,7 +382,7 @@
   lcinfo.gbrDl = bearer.gbrQosInfo.gbrDl;
   m_rrc->m_cmacSapProvider->AddLc (lcinfo, rlc->GetLteMacSapUser ());
   
-  if (drbInfo->m_rlc->GetTypeId () == LteRlcAm::GetTypeId ())
+  if (rlcTypeId == LteRlcAm::GetTypeId ())
     {
       drbInfo->m_rlcConfig.choice =  LteRrcSap::RlcConfig::AM;
     }