X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2F5gnrmac%2Fmac_msg_hdl.c;h=bb8773092f0581bc8cb4b7124a84717d9b430561;hb=be872311899d115fdf4565e4811cc8b37226ac53;hp=7966445a40ac5fe2a0a6cf17f33ccfcd935ea574;hpb=14136d98405a2fb8d8c078b755efb63b95cdc7a3;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac_msg_hdl.c b/src/5gnrmac/mac_msg_hdl.c index 7966445a4..bb8773092 100644 --- a/src/5gnrmac/mac_msg_hdl.c +++ b/src/5gnrmac/mac_msg_hdl.c @@ -210,13 +210,13 @@ uint8_t fapiMacRxDataInd(Pst *pst, RxDataInd *rxDataInd) * ****************************************************************/ uint8_t MacProcRlcDlData(Pst* pstInfo, RlcData *dlData) { - uint8_t pduIdx =0; - uint8_t lcIdx = 0; - uint8_t *txPdu =NULLP; - uint16_t tbSize =0; - MacDlData macDlData; - MacDlSlot *currDlSlot = NULLP; - DlRlcBoInfo dlBoInfo; + uint8_t pduIdx =0; + uint8_t lcIdx = 0; + uint8_t *txPdu =NULLP; + uint16_t tbSize =0; + MacDlData macDlData; + MacDlSlot *currDlSlot = NULLP; + DlRlcBoInfo dlBoInfo; memset(&macDlData , 0, sizeof(MacDlData)); DU_LOG("\nDEBUG --> MAC: Received DL data for sfn=%d slot=%d numPdu= %d", \ @@ -271,9 +271,8 @@ uint8_t MacProcRlcDlData(Pst* pstInfo, RlcData *dlData) } if(pstInfo->selector == ODU_SELECTOR_LWLC) { - MAC_FREE_SHRABL_BUF(pstInfo->region, pstInfo->pool, dlData, sizeof(RlcData)); + MAC_FREE_SHRABL_BUF(pstInfo->region, pstInfo->pool, dlData, sizeof(RlcData)); } - return ROK; }