check if active state before stopping pdcp entity

master
Andre Puschmann 7 years ago
parent f92e0a88d9
commit 34d4017479

@ -53,7 +53,9 @@ 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++) {
pdcp_array[i].stop();
if (pdcp_array[i].is_active()) {
pdcp_array[i].stop();
}
}
}

Loading…
Cancel
Save