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

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

Loading…
Cancel
Save