pespin has submitted this change. ( 
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, 10 insertions(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  Jenkins Builder: Verified
  pespin: Looks good to me, approved




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: 2
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to