rlcmac: tbf_ul: Fix wrong function called looking up msg size

Change-Id: I9d5afee36a633c311b5657181d0de7cbddd593e0
This commit is contained in:
Pau Espin 2023-02-16 12:53:40 +01:00
parent 8c2734fa43
commit b853424a28
1 changed files with 1 additions and 1 deletions

View File

@ -672,7 +672,7 @@ static struct msgb *create_ul_acked_block(struct gprs_rlcmac_ul_tbf *ul_tbf,
rlc.tfi = ul_tbf->cur_alloc.ul_tfi; /* TFI */
/* return data block(s) as message */
msg_len = gprs_rlcmac_mcs_size_dl(cs);
msg_len = gprs_rlcmac_mcs_size_ul(cs);
msg = msgb_alloc(msg_len, "rlcmac_ul_data");
if (!msg)
return NULL;