X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_lmm.c;h=5500bec46045b19e0e5e7c3f9acceb3f9c592df3;hb=f01eb5471d34834e2ef1d8dbbfc4b2fe68403650;hp=b52f54205d3ce099e0a136b5fedafc88bc4caf90;hpb=aa4e78164447b8cad6f38791047377640fd0c6f2;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_lmm.c b/src/5gnrrlc/kw_lmm.c index b52f54205..5500bec46 100755 --- a/src/5gnrrlc/kw_lmm.c +++ b/src/5gnrrlc/kw_lmm.c @@ -247,10 +247,9 @@ static S16 rlcLmmGenCfg(RlcCb *gCb,RlcGenCfg *cfg) RLOG0(L_FATAL,"RLC DL Initialization failed"); return (LCM_REASON_MEM_NOAVAIL); } -#if 0 + /* Register the timer */ -/*Pradeep: changing the SRegTmrMt() to SRegTmr()*/ - if(SRegTmrMt(gCb->init.ent, gCb->init.inst, (uint16_t)cfg->timeRes, + if(ODU_REG_TMR_MT(gCb->init.ent, gCb->init.inst, (uint16_t)cfg->timeRes, rlcActvTmr) != ROK) { RLC_FREE(gCb,gCb->u.dlCb->udxDlSap, rlcUdxSapSize); @@ -260,7 +259,7 @@ static S16 rlcLmmGenCfg(RlcCb *gCb,RlcGenCfg *cfg) return (LCM_REASON_REGTMR_FAIL); } -#endif + /* initializations for background processing of freeing memory */ rlcUtlInitToBeFreed(gCb, &(gCb->u.dlCb->toBeFreed)); rlcUtlInitializeSelfPst(gCb);