fix RLC AM SDU reset

master
Andre Puschmann 7 years ago
parent e7a268d79b
commit 8a831379c1

@ -127,10 +127,10 @@ void rlc_am::reset()
pthread_mutex_lock(&mutex); pthread_mutex_lock(&mutex);
reordering_timeout.reset(); reordering_timeout.reset();
if(tx_sdu) { if(tx_sdu) {
pool->deallocate(tx_sdu); tx_sdu->reset();
} }
if(rx_sdu) { if(rx_sdu) {
pool->deallocate(rx_sdu); rx_sdu->reset();
} }
vt_a = 0; vt_a = 0;

Loading…
Cancel
Save