Skip to content

Commit f893a6c

Browse files
frankistcodebot
authored andcommitted
gnb: fix assignment of search space type for search space id 2
1 parent f4a2741 commit f893a6c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

apps/gnb/gnb_appconfig_translators.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,9 @@ std::vector<du_cell_config> srsran::generate_du_cell_config(const gnb_appconfig&
9898

9999
// UE-dedicated config.
100100
if (config.common_cell_cfg.pdcch_cfg.ue_ss_type == search_space_configuration::type_t::common) {
101-
search_space_configuration& ss_cfg =
102-
out_cell.ue_ded_serv_cell_cfg.dl_bwps[0].bwp_dl_common->pdcch_common.search_spaces[0];
103-
ss_cfg.type = search_space_configuration::type_t::common;
104-
ss_cfg.common.f0_0_and_f1_0 = true;
101+
search_space_configuration& ss_cfg = out_cell.ue_ded_serv_cell_cfg.init_dl_bwp.pdcch_cfg->search_spaces[0];
102+
ss_cfg.type = search_space_configuration::type_t::common;
103+
ss_cfg.common.f0_0_and_f1_0 = true;
105104
}
106105

107106
error_type<std::string> error = is_du_cell_config_valid(out_cfg.back());

0 commit comments

Comments
 (0)