Merge "Added a new Flag ODU_LWR_MAC_DEBUG in the code"
[o-du/l2.git] / src / 5gnrrlc / rlc_msg_hdl.c
index 0633465..0e296ce 100644 (file)
@@ -233,7 +233,7 @@ uint8_t BuildAndSendRrcDeliveryReportToDu( RlcDlRrcMsgInfo *dlRrcMsgInfo )
 {
     Pst             pst;
     RrcDeliveryReport *rrcDelivery;
-    
+
     DU_LOG("\nRLC : Filling the RRC Delivery Report");
     RLC_ALLOC_SHRABL_BUF(RLC_MEM_REGION_UL, RLC_POOL, rrcDelivery, sizeof(RrcDeliveryReport));
 
@@ -350,6 +350,7 @@ uint8_t RlcProcUlData(Pst *pst, RlcData *ulData)
    RguCDatIndInfo  *cLchUlDat;               /* UL data on common logical channel */
 
    /* Initializing dedicated logical channel Database */
+   DU_LOG("\nRLC: Received UL Data request from MAC");
    for(idx = 0; idx < MAX_NUM_LC; idx++)
    {
       dLchData[idx].lcId = idx;
@@ -451,7 +452,7 @@ uint8_t RlcProcUlData(Pst *pst, RlcData *ulData)
       }
    }
 
-   for(pduIdx = 0; pduIdx < ulData->numPdu; idx++)
+   for(pduIdx = 0; pduIdx < ulData->numPdu; pduIdx++)
    {
       RLC_FREE_SHRABL_BUF(pst->region, pst->pool, ulData->pduInfo[pduIdx].pduBuf, \
          ulData->pduInfo[pduIdx].pduLen);
@@ -488,7 +489,6 @@ uint8_t RlcProcSchedResultRpt(Pst *pst, RlcSchedResultRpt *schRep)
    RguDStaIndInfo   *dLchSchInfo;  /* Dedicated logical channel scheduling result */
 
    DU_LOG("\nRLC : Received scheduling report from MAC");
-
    for(idx=0; idx < schRep->numLc; idx++)
    {
       /* If it is common channel, fill status indication information