Fix SRB PDCP SN len initialization.

This commit is contained in:
Pedro Alvarez 2019-06-19 17:55:19 +01:00 committed by Andre Puschmann
parent 5d8dcbe4cb
commit 129c892d35
1 changed files with 4 additions and 2 deletions

View File

@ -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) {