Do not check periodic-BSR during retx-BSR expiration

This commit is contained in:
Ismael Gomez 2019-06-19 00:07:46 +02:00
parent 8f5ad55c4a
commit ebe97221da
1 changed files with 6 additions and 7 deletions

View File

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