check if active state before stopping pdcp entity

master
Andre Puschmann 7 years ago
parent f92e0a88d9
commit 34d4017479

@ -53,8 +53,10 @@ void pdcp::init(srsue::rlc_interface_pdcp *rlc_, srsue::rrc_interface_pdcp *rrc_
void pdcp::stop()
{
for(uint32_t i=0;i<SRSLTE_N_RADIO_BEARERS;i++) {
if (pdcp_array[i].is_active()) {
pdcp_array[i].stop();
}
}
}
void pdcp::reestablish() {

Loading…
Cancel
Save