gnb,rrc: fix deactivation/deletion of bearers

fix regression included in f1831d9027
that marks srb0 to be deactivate/deleted when the UE bearers are
configured.

further in the code an assert makes sure that srb0 is never removed/reconfigured
so we don't want lcid=0 to be included in the list of bearers
master
Andre Puschmann 3 years ago
parent 1180d0f24d
commit 711d9e8004

@ -1506,7 +1506,7 @@ int rrc_nr::ue::update_mac(const cell_group_cfg_s& cell_group_config, bool is_co
void rrc_nr::ue::deactivate_bearers()
{
// Iterate over the bearers (MAC LC CH) and set each of them to IDLE
for (uint32_t lcid = 0; lcid < SCHED_NR_MAX_LCID; ++lcid) {
for (uint32_t lcid = 1; lcid < SCHED_NR_MAX_LCID; ++lcid) {
uecfg.lc_ch_to_rem.push_back(lcid);
}

Loading…
Cancel
Save