[Epic-ID: ODUHIGH-556][Task-ID: ODUHIGH-559]Correction in PUCCH allocation
[o-du/l2.git] / src / 5gnrsch / sch_slot_ind.c
index 5ac9129..8b423b2 100644 (file)
@@ -522,7 +522,7 @@ bool findValidK0K1Value(SchCellCb *cell, SlotTimingInfo currTime, uint8_t ueId,
          cell->schUlSlotInfo[pucchTime->slot]->pucchUe = ueId;
 
          /*Availability of PUCCH for HARQ resources*/
-         ret = schAllocPucchResource(cell, *pucchTime, ueCb, isRetx, hqP);
+         ret = schAllocPucchResource(cell, *pucchTime, ueCb, hqP, pdcchAllocInfo);
          if(ret == RFAILED)
          {
             /*DL allocation can't go through as PUCCH is unavailable*/