X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac_msg_hdl.c;h=694cd74855661db87ad9f126150cdcbe34371ae5;hb=ba2574ac618b40905509604da8d3a2b1b9e39664;hp=aef583be65072c77bfecfba182dfa245b474a6f6;hpb=ed6746a6081339633c3baa314251fcc11b98ce10;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac_msg_hdl.c b/src/5gnrmac/mac_msg_hdl.c index aef583be6..694cd7485 100644 --- a/src/5gnrmac/mac_msg_hdl.c +++ b/src/5gnrmac/mac_msg_hdl.c @@ -210,12 +210,13 @@ uint8_t fapiMacRxDataInd(Pst *pst, RxDataInd *rxDataInd) * ****************************************************************/ uint8_t MacProcRlcDlData(Pst* pstInfo, RlcData *dlData) { - uint8_t pduIdx; - uint8_t *txPdu; - uint16_t tbSize; + uint8_t pduIdx =0; + uint8_t *txPdu =NULLP; + uint16_t tbSize =0; MacDlData macDlData; MacDlSlot *currDlSlot = NULLP; - + + memset(&macDlData , 0, sizeof(MacDlData)); DU_LOG("\nMAC: Received DL data for sfn=%d slot=%d", \ dlData->slotInfo.sfn, dlData->slotInfo.slot); /* Copy the pdus to be muxed into mac Dl data */