diff --git a/srsapps/ue/mac/src/proc_bsr.cc b/srsapps/ue/mac/src/proc_bsr.cc index d0cc37437..6e2700bcd 100644 --- a/srsapps/ue/mac/src/proc_bsr.cc +++ b/srsapps/ue/mac/src/proc_bsr.cc @@ -152,7 +152,7 @@ bool bsr_proc::generate_bsr(bsr_t *bsr, uint32_t nof_padding_bytes) { for (int i=0;iNOF_UL_LCH;i++) { if (lcg[i] >= 0) { uint32_t n = mac_io_h->get(i+mac_io::MAC_LCH_CCCH_UL)->pending_data()/8; - bsr->buff_size[lcg[i]] += 8*n; + bsr->buff_size[lcg[i]] += n; if (n > 0) { nof_lcg++; ret = true;