Making sure that next_pdcp_rx_sn is reset at reestablish.

master
Pedro Alvarez 6 years ago committed by Andre Puschmann
parent 6cbcc5154d
commit 6578cf1d01

@ -82,14 +82,16 @@ void pdcp_entity::reestablish()
// For SRBs // For SRBs
if (cfg.is_control) { if (cfg.is_control) {
tx_count = 0; tx_count = 0;
rx_hfn = 0;
rx_count = 0; rx_count = 0;
rx_hfn = 0;
next_pdcp_rx_sn = 0;
} else { } else {
// Only reset counter in RLC-UM // Only reset counter in RLC-UM
if (rlc->rb_is_um(lcid)) { if (rlc->rb_is_um(lcid)) {
tx_count = 0; tx_count = 0;
rx_hfn = 0;
rx_count = 0; rx_count = 0;
rx_hfn = 0;
next_pdcp_rx_sn = 0;
} }
} }
} }

Loading…
Cancel
Save