Fix SRB PDCP SN len initialization.

master
Pedro Alvarez 6 years ago committed by Andre Puschmann
parent 5d8dcbe4cb
commit 129c892d35

@ -2971,6 +2971,8 @@ void rrc::add_srb(srb_to_add_mod_s* srb_cnfg)
// Setup PDCP
srslte_pdcp_config_t pdcp_cfg;
pdcp_cfg.is_control = true;
pdcp_cfg.is_data = false;
pdcp_cfg.sn_len = 5;
pdcp_cfg.bearer_id = srb_cnfg->srb_id;
pdcp->add_bearer(srb_cnfg->srb_id, pdcp_cfg);
if (RB_ID_SRB2 == srb_cnfg->srb_id) {

Loading…
Cancel
Save