Commit ec82ddea authored by Robert Schmidt's avatar Robert Schmidt

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.
parent bca61ec6
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment