diff --git a/lib/src/phy/ch_estimation/chest_dl.c b/lib/src/phy/ch_estimation/chest_dl.c index 551a18004..1356e8270 100644 --- a/lib/src/phy/ch_estimation/chest_dl.c +++ b/lib/src/phy/ch_estimation/chest_dl.c @@ -246,10 +246,10 @@ int srslte_chest_dl_set_mbsfn_area_id(srslte_chest_dl_t* q, uint16_t mbsfn_area_ if (mbsfn_area_id < SRSLTE_MAX_MBSFN_AREA_IDS) { if (!q->mbsfn_refs[mbsfn_area_id]) { q->mbsfn_refs[mbsfn_area_id] = calloc(1, sizeof(srslte_refsignal_t)); - if(srslte_refsignal_mbsfn_init(q->mbsfn_refs[mbsfn_area_id], q->cell.nof_prb)) { - return SRSLTE_ERROR; - } - if(srslte_refsignal_mbsfn_set_cell(q->mbsfn_refs[mbsfn_area_id], q->cell, mbsfn_area_id)) { + if (srslte_refsignal_mbsfn_init(q->mbsfn_refs[mbsfn_area_id], q->cell.nof_prb)) { + return SRSLTE_ERROR; + } + if (srslte_refsignal_mbsfn_set_cell(q->mbsfn_refs[mbsfn_area_id], q->cell, mbsfn_area_id)) { return SRSLTE_ERROR; } } diff --git a/srsue/src/stack/rrc/rrc.cc b/srsue/src/stack/rrc/rrc.cc index 6cc9a34ac..e7a9e5338 100644 --- a/srsue/src/stack/rrc/rrc.cc +++ b/srsue/src/stack/rrc/rrc.cc @@ -1194,7 +1194,7 @@ bool rrc::mbms_service_start(uint32_t serv, uint32_t port) for (uint32_t j = 0; j < pmch->mbms_session_info_list_r9.size(); j++) { mbms_session_info_r9_s* sess = &pmch->mbms_session_info_list_r9[j]; if (serv == sess->tmgi_r9.service_id_r9.to_number()) { - rrc_log->console("MBMS service started. Service id:%d, port: %d\n", serv, port); + rrc_log->console("MBMS service started. Service id=%d, port=%d, lcid=%d\n", serv, port, sess->lc_ch_id_r9); ret = true; add_mrb(sess->lc_ch_id_r9, port); }