From 589cb2f43ed80a6d6124db52c3d4b41f110d4413 Mon Sep 17 00:00:00 2001 From: rmagueta Date: Fri, 18 Feb 2022 00:39:34 +0000 Subject: [PATCH] Fix segmentation fault for do-ra --- openair2/LAYER2/NR_MAC_gNB/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair2/LAYER2/NR_MAC_gNB/config.c b/openair2/LAYER2/NR_MAC_gNB/config.c index 3812ec4a7f..245c902702 100644 --- a/openair2/LAYER2/NR_MAC_gNB/config.c +++ b/openair2/LAYER2/NR_MAC_gNB/config.c @@ -535,7 +535,7 @@ int rrc_mac_config_req_gNB(module_id_t Mod_idP, if (CellGroup) { - if (!get_softmodem_params()->phy_test) { + if (get_softmodem_params()->sa) { calculate_preferred_dl_tda(Mod_idP, NULL); }