X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Fsch_slot_ind.c;h=06826958ce21a34db533910fe77ff2195d25f0de;hb=4d45b914f9e94203603d3b9fdbcb1aad361301dd;hp=29869154a86d32e4ec692f4b12d300e2fd7f9c06;hpb=6b44407d464a5a4e060999255233a7cfe78bb0fa;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch_slot_ind.c b/src/5gnrsch/sch_slot_ind.c index 29869154a..06826958c 100644 --- a/src/5gnrsch/sch_slot_ind.c +++ b/src/5gnrsch/sch_slot_ind.c @@ -69,7 +69,7 @@ extern int schFillRar(RarAlloc *rarAlloc, uint16_t raRnti, uint16_t pci, uint8_t * RFAILED - failure * * ****************************************************************/ -int sendDlAllocToMac(DlSchedInfo *dlSchedInfo, Inst inst) +uint8_t sendDlAllocToMac(DlSchedInfo *dlSchedInfo, Inst inst) { Pst pst; @@ -200,7 +200,7 @@ uint8_t schProcessSlotInd(SlotIndInfo *slotInd, Inst schInst) if(ret != ROK) { DU_LOG("\nschBroadcastAlloc failed"); - RETVALUE(ret); + return (ret); } } @@ -305,7 +305,7 @@ uint8_t schProcessSlotInd(SlotIndInfo *slotInd, Inst schInst) if(ret != ROK) { DU_LOG("\nSending DL Broadcast allocation from SCH to MAC failed"); - RETVALUE(ret); + return (ret); } schInitDlSlot(cell->schDlSlotInfo[slot]);