X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Fsch_common.c;h=8a1ad711e2a9d3eb8e549e938ce5e3126682d3fc;hb=85008fef60069af4d70a447e76aaae64ce836292;hp=6c00b57e9fcb268c5094ed7088e46ff57f68d70b;hpb=b8044fce6d8a277254f235d128c8729ed0b5e7b0;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch_common.c b/src/5gnrsch/sch_common.c index 6c00b57e9..8a1ad711e 100644 --- a/src/5gnrsch/sch_common.c +++ b/src/5gnrsch/sch_common.c @@ -314,10 +314,12 @@ uint8_t schUlResAlloc(SchCellCb *cell, Inst schInst) if(ulAlloc->schPuschInfo) { + ulSchInfo.crnti = cell->raCb[0].tcrnti; ulSchInfo.dataType |= SCH_DATATYPE_PUSCH; memcpy(&ulSchInfo.schPuschInfo, ulAlloc->schPuschInfo, sizeof(SchPuschInfo)); SCH_FREE(ulAlloc->schPuschInfo, sizeof(SchPuschInfo)); + ulAlloc->schPuschInfo = NULL; } //send msg to MAC