pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-gprs/+/31345 )
Change subject: rlcmac: tbf_ul: Fix wrong function called looking up msg size
......................................................................
rlcmac: tbf_ul: Fix wrong function called looking up msg size
Change-Id: I9d5afee36a633c311b5657181d0de7cbddd593e0
---
M src/rlcmac/tbf_ul.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-gprs refs/changes/45/31345/1
diff --git a/src/rlcmac/tbf_ul.c b/src/rlcmac/tbf_ul.c
index ae6b156..06daf36 100644
--- a/src/rlcmac/tbf_ul.c
+++ b/src/rlcmac/tbf_ul.c
@@ -672,7 +672,7 @@
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;
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-gprs/+/31345
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-gprs
Gerrit-Branch: master
Gerrit-Change-Id: I9d5afee36a633c311b5657181d0de7cbddd593e0
Gerrit-Change-Number: 31345
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange