PUCCH dedicated configuration fixed [Issue-ID: ODUHIGH-398]
[o-du/l2.git] / src / 5gnrsch / sch_common.c
index 9e0a4d9..89f565e 100644 (file)
@@ -415,6 +415,7 @@ uint16_t fillPucchResourceInfo(SchPucchInfo *schPucchInfo, Inst inst, SlotTiming
    uint16_t startPrb;
 
    GET_UE_IDX(schPucchInfo->rnti, ueIdx);
+   ueIdx--;
    if(cell->ueCb[ueIdx].ueCfg.spCellCfg.servCellCfg.initUlBwp.pucchCfgPres)
    {
       /* fill pucch dedicated cfg */