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
|
@ -82,14 +82,16 @@ void pdcp_entity::reestablish()
|
|||
// For SRBs
|
||||
if (cfg.is_control) {
|
||||
tx_count = 0;
|
||||
rx_hfn = 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;
|
||||
rx_hfn = 0;
|
||||
next_pdcp_rx_sn = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue