X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Frg_ram.c;h=970907b299db31a90a0da7025f61fdd91a3e2112;hb=22dec8bbab96f5bfad385f0a23cd33c95edb2e1f;hp=e3a53c7cb230045ef4b6b2ff949300944af18e71;hpb=451e626d5ac7c7e7586bab23358161230449af46;p=o-du%2Fl2.git diff --git a/src/5gnrmac/rg_ram.c b/src/5gnrmac/rg_ram.c index e3a53c7cb..970907b29 100755 --- a/src/5gnrmac/rg_ram.c +++ b/src/5gnrmac/rg_ram.c @@ -292,7 +292,7 @@ RgErrInfo *err; RETVALUE(RFAILED); } - idx = (timingInfo.subframe % RG_NUM_SUB_FRAMES); + idx = (timingInfo.slot % RG_NUM_SUB_FRAMES); dlSf = &cell->subFrms[idx]; /* Create RAR PDUs for all the allocated RA-RNTIs */