X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2F5gnrsch%2Fsch.c;h=9bfe6a3e416cffd3e1334458b8e78a70e84590f9;hb=694adde1a08c393a8443fd5bbd4f036f5cf85403;hp=12f0bbbffdebe1551657b87a3887e37405ce1b08;hpb=9c8b78da0f4ef42dae5e30a3061463b81327e7a0;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch.c b/src/5gnrsch/sch.c index 12f0bbbff..9bfe6a3e4 100644 --- a/src/5gnrsch/sch.c +++ b/src/5gnrsch/sch.c @@ -672,7 +672,6 @@ uint8_t MacSchDlRlcBoInfo(Pst *pst, DlRlcBoInfo *dlBoInfo) Inst inst = pst->dstInst-SCH_INST_START; DU_LOG("\nSCH : Received RLC BO Status indication"); - cell = schCb[inst].cells[inst]; GET_UE_IDX(dlBoInfo->crnti, ueIdx); @@ -740,7 +739,6 @@ uint8_t MacSchBsr(Pst *pst, UlBufferStatusRptInd *bsrInd) uint8_t lcgIdx; DU_LOG("\nSCH : Received BSR"); - cellCb = schCb[schInst].cells[schInst]; ueCb = schGetUeCb(cellCb, bsrInd->crnti); @@ -778,6 +776,7 @@ uint8_t MacSchSrUciInd(Pst *pst, SrUciIndInfo *uciInd) SchCellCb *cellCb = schCb[inst].cells[inst]; DU_LOG("\nSCH : Received SR"); + ueCb = schGetUeCb(cellCb, uciInd->crnti); if(uciInd->numSrBits)