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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user