aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2016-02-04 11:08:52 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2016-02-04 11:08:52 +0100
commit91464d3b6b13c85b8c70946ad37c1025e5a536db (patch)
tree5bc1ae7878dba4f12b5dc67f8f60c9bbd298cf5e
parent2327a9af9eab1ad0ef50b8e724226abda57863e8 (diff)
EXPERIMENTAL add assertion for data_len
Sponsored-by: On-Waves ehf
-rw-r--r--src/tbf_dl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index 3b0e2f8..abbeef6 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -649,6 +649,7 @@ struct msgb *gprs_rlcmac_dl_tbf::create_dl_acked_block(
punct[data_block_idx] = data_block_idx;
rdbi = &rlc.block_info[data_block_idx];
+ OSMO_ASSERT(rdbi->data_len == m_rlc.block(bsn)->block_info->data_len);
*rdbi = m_rlc.block(bsn)->block_info;
is_final = is_final || rdbi->cv == 0;