Fix reordering timer release screen print

master
Ismael Gomez 7 years ago
parent ca529f96fc
commit d1fa61527f

@ -129,8 +129,9 @@ bool rlc_um::is_mrb()
void rlc_um::stop() void rlc_um::stop()
{ {
reset(); reset();
if (mac_timers) { if (mac_timers && reordering_timer) {
mac_timers->timer_release_id(reordering_timer_id); mac_timers->timer_release_id(reordering_timer_id);
reordering_timer = NULL;
} }
} }
@ -155,7 +156,7 @@ void rlc_um::reset()
tx_sdu = NULL; tx_sdu = NULL;
} }
if(mac_timers) { if(reordering_timer) {
reordering_timer->stop(); reordering_timer->stop();
} }

Loading…
Cancel
Save