diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2016-05-24 14:45:41 +0200 |
---|---|---|
committer | Holger Freyther <holger@freyther.de> | 2016-05-25 19:45:50 +0000 |
commit | ce936f3cd46623856596326fe9a23cc090c2179e (patch) | |
tree | 128d44223996f9bc13b7b3f3854b1c36abd1da80 /src | |
parent | c1c9d6a9d849685556a6ce9f2e0f9a814c2995ae (diff) |
tbf_ul: use correct size for chunk_size
The size of the hole array in bytes was used instead of the size of elements.
Change-Id: If6bf3e5f1ad773ddaa9fb2ce7c069e6b26659cbf
Reviewed-on: https://gerrit.osmocom.org/105
Tested-by: Jenkins Builder
Reviewed-by: Holger Freyther <holger@freyther.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/tbf_ul.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf_ul.cpp b/src/tbf_ul.cpp index 9e763f4c..13162043 100644 --- a/src/tbf_ul.cpp +++ b/src/tbf_ul.cpp @@ -60,7 +60,7 @@ int gprs_rlcmac_ul_tbf::assemble_forward_llc(const gprs_rlc_data *_data) LOGP(DRLCMACUL, LOGL_DEBUG, "- Assembling frames: (len=%d)\n", len); num_frames = Decoding::rlc_data_from_ul_data( - rdbi, cs, data, &(frames[0]), sizeof(frames), + rdbi, cs, data, &(frames[0]), ARRAY_SIZE(frames), &dummy_tlli); /* create LLC frames */ |