X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Flwr_mac_upr_inf.c;h=13b41a07bd6a09bcacb0fcf8b376a9226b8bbc17;hb=4d45b914f9e94203603d3b9fdbcb1aad361301dd;hp=c6a1c5e9601716cccd2512d486eb836ad71dd528;hpb=6b44407d464a5a4e060999255233a7cfe78bb0fa;p=o-du%2Fl2.git diff --git a/src/5gnrmac/lwr_mac_upr_inf.c b/src/5gnrmac/lwr_mac_upr_inf.c index c6a1c5e96..13b41a07b 100644 --- a/src/5gnrmac/lwr_mac_upr_inf.c +++ b/src/5gnrmac/lwr_mac_upr_inf.c @@ -117,16 +117,16 @@ uint8_t packRachInd(Pst *pst, RachInd *rachInd) uint8_t packLcSlotInd (Pst *pst, SlotIndInfo *slotInd) { Buffer *mBuf = NULLP; - if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) + if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK) { return RFAILED; } /* pack SFN and slot value */ - CMCHKPK(SPkU16,slotInd->sfn, mBuf); - CMCHKPK(SPkU16,slotInd->slot, mBuf); + CMCHKPK(oduUnpackUInt16,slotInd->sfn, mBuf); + CMCHKPK(oduUnpackUInt16,slotInd->slot, mBuf); - return SPstTsk(pst,mBuf); + return ODU_POST_TASK(pst,mBuf); } /*******************************************************************