JIRA ID = ODUHIGH-334 Implementation of DLRRC message for RRC RELEASE
[o-du/l2.git] / src / 5gnrrlc / rlc_cfg_dl.c
index dcc1a2c..89c4318 100755 (executable)
@@ -706,14 +706,9 @@ RlcEntCfgCfmInfo   *entCfm
                return RFAILED;
             }
             /* Start throughput calculation for this UE */
-            gCb->rlcThpt.thptPerUe[gCb->rlcThpt.numActvUe].ueIdx = ueId;
-            gCb->rlcThpt.thptPerUe[gCb->rlcThpt.numActvUe].dataVol = 0;
+            gCb->rlcThpt.thptPerUe[ueId -1].ueId  = ueId;
+            gCb->rlcThpt.thptPerUe[ueId -1].dataVol = 0;
             gCb->rlcThpt.numActvUe++;
-            
-            if((rlcChkTmr(gCb, (PTR)(&gCb->rlcThpt), EVENT_RLC_THROUGHPUT_TMR)) == FALSE)
-            {
-               rlcStartTmr(gCb, (PTR)(&gCb->rlcThpt), EVENT_RLC_THROUGHPUT_TMR);
-            }
          }
 
          /* Validate LChId for UM and AM modes */