X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2F5gnrsch%2Fsch.c;h=d05029ddf34306b973ed572d4f0fceb9478b4187;hb=53b8b63c2fff0f2adbf2c66ed182a32bb4682bf7;hp=31878a91841534a8f176fcf8cebd1d810de9e6d2;hpb=cf67fe66c4ec86a0312a41437c0cd225350e5b0b;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch.c b/src/5gnrsch/sch.c index 31878a918..d05029ddf 100644 --- a/src/5gnrsch/sch.c +++ b/src/5gnrsch/sch.c @@ -666,6 +666,10 @@ uint8_t schInitCellCb(Inst inst, SchCellCfg *schCellCfg) cell->firstSib1Transmitted = false; fillSsbStartSymb(cell); cmLListInit(&cell->ueToBeScheduled); + +#ifdef NR_DRX + memset(cell->drxCb, 0, MAX_DRX_SIZE*sizeof(SchDrxCb)); +#endif schCb[inst].cells[inst] = cell; DU_LOG("\nINFO --> SCH : Cell init completed for cellId:%d", cell->cellId);