Building mib PDU and SSB changes at scheduler
[o-du/l2.git] / src / 5gnrmac / rg_ram.c
index e3a53c7..970907b 100755 (executable)
@@ -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 */