Skip to content

Commit

Permalink
fix RLC AM SDU reset
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepuschmann committed Apr 4, 2018
1 parent e7a268d commit 8a83137
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/upper/rlc_am.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ void rlc_am::reset()
pthread_mutex_lock(&mutex);
reordering_timeout.reset();
if(tx_sdu) {
pool->deallocate(tx_sdu);
tx_sdu->reset();
}
if(rx_sdu) {
pool->deallocate(rx_sdu);
rx_sdu->reset();
}

vt_a = 0;
Expand Down

0 comments on commit 8a83137

Please sign in to comment.