Don't call calculate_preferred_dl_tda() in do-ra mode

In --do-ra mode, calculate_preferred_dl_tda() would be called without a
BWP. Then, get_searchspace() would search in the scc, leading to a
segfault. Therefore, don't call calculate_preferred_dl_tda() in do-ra
mode.
This commit is contained in:
Robert Schmidt
2022-04-03 19:25:14 +02:00
parent bca61ec634
commit ec82ddea38
+1 -1
View File
@@ -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);
}