From 4bcb7564c1622afc6c9a1e33536966c5fba1af95 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Mon, 1 Mar 2021 14:46:24 +0100 Subject: [PATCH] Incorrect return value in scheduler call cases user activity to not terminate --- srsenb/src/stack/mac/mac.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsenb/src/stack/mac/mac.cc b/srsenb/src/stack/mac/mac.cc index f0575aff0..4075118ad 100644 --- a/srsenb/src/stack/mac/mac.cc +++ b/srsenb/src/stack/mac/mac.cc @@ -279,7 +279,7 @@ int mac::ack_info(uint32_t tti_rx, uint16_t rnti, uint32_t enb_cc_idx, uint32_t return SRSLTE_ERROR; } - uint32_t nof_bytes = scheduler.dl_ack_info(tti_rx, rnti, enb_cc_idx, tb_idx, ack); + int nof_bytes = scheduler.dl_ack_info(tti_rx, rnti, enb_cc_idx, tb_idx, ack); ue_db[rnti]->metrics_tx(ack, nof_bytes); if (ack) {