mirror of https://github.com/PentHertz/srsLTE.git
Making sure that next_pdcp_rx_sn is reset at reestablish.
This commit is contained in:
parent
6cbcc5154d
commit
6578cf1d01
|
@ -81,15 +81,17 @@ 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…
Reference in New Issue