fix bearer reactivation in case the RRC session is recovered after max KO

master
Francisco 4 years ago committed by Ismael Gomez
parent fbb151af2d
commit 59513c0eed

@ -299,8 +299,11 @@ void mac_controller::handle_ho_prep(const asn1::rrc::ho_prep_info_r8_ies_s& ho_p
void mac_controller::set_radio_bearer_state(sched_interface::ue_bearer_cfg_t::direction_t dir)
{
for (auto& ue_bearer : current_sched_ue_cfg.ue_bearers) {
ue_bearer.direction = dir;
for (uint32_t i = srb_to_lcid(lte_srb::srb0); i <= srb_to_lcid(lte_srb::srb2); ++i) {
current_sched_ue_cfg.ue_bearers[i].direction = dir;
}
for (auto& drb : bearer_list.get_established_drbs()) {
current_sched_ue_cfg.ue_bearers[drb.lc_ch_id].direction = dir;
}
update_mac(config_tx);
}

Loading…
Cancel
Save