diff --git a/openair2/LAYER2/NR_MAC_gNB/config.c b/openair2/LAYER2/NR_MAC_gNB/config.c
index 04ee5f33853900e2518a9c065dd4fcfd85804495..9ffec4a13b813bc4c107b8bf13aa384c960969c1 100644
--- a/openair2/LAYER2/NR_MAC_gNB/config.c
+++ b/openair2/LAYER2/NR_MAC_gNB/config.c
@@ -574,7 +574,7 @@ int rrc_mac_config_req_gNB(module_id_t Mod_idP,
 
   if (CellGroup) {
 
-    if (!get_softmodem_params()->phy_test) {
+    if (!get_softmodem_params()->phy_test && !get_softmodem_params()->do_ra) {
       calculate_preferred_dl_tda(Mod_idP, NULL);
     }