ue,rrc: let RRC reconfig fail when LCID cannot be derived from DRB id

master
Andre Puschmann 3 years ago
parent 1c3a03cb2b
commit e6d9ec40ef

@ -1336,6 +1336,10 @@ bool rrc_nr::apply_drb_add_mod(const drb_to_add_mod_s& drb_cfg)
} }
uint32_t lcid = get_lcid_for_drbid(drb_cfg.drb_id); uint32_t lcid = get_lcid_for_drbid(drb_cfg.drb_id);
if (lcid == 0) {
logger.error("Cannot find valid LCID for DRB %d", drb_cfg.drb_id);
return false;
}
// Setup PDCP // Setup PDCP
if (!(drb_cfg.pdcp_cfg.drb_present == true)) { if (!(drb_cfg.pdcp_cfg.drb_present == true)) {

Loading…
Cancel
Save