Do not check periodic-BSR during retx-BSR expiration

master
Ismael Gomez 6 years ago
parent 8f5ad55c4a
commit ebe97221da

@ -107,13 +107,12 @@ void bsr_proc::timer_expired(uint32_t timer_id) {
// retxBSR-Timer // retxBSR-Timer
} else if (timer_id == timer_retx_id) { } else if (timer_id == timer_retx_id) {
// Enable reTx of SR only if periodic timer is not infinity // Enable reTx of SR only if periodic timer is not infinity
if (bsr_cfg.periodic_timer >= 0) { Debug("BSR: Timer BSR reTX expired, periodic=%d, channel=%d\n", bsr_cfg.periodic_timer, check_any_channel());
// Triger Regular BSR if UE has available data for transmission on any channel // Triger Regular BSR if UE has available data for transmission on any channel
if (check_any_channel()) { if (check_any_channel()) {
set_trigger(REGULAR); set_trigger(REGULAR);
Debug("BSR: Triggering BSR reTX\n"); Debug("BSR: Triggering BSR reTX\n");
sr_is_sent = false; sr_is_sent = false;
}
} }
} }
pthread_mutex_unlock(&mutex); pthread_mutex_unlock(&mutex);

Loading…
Cancel
Save