aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2016-02-03 20:55:17 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2016-02-03 21:14:09 +0100
commit2327a9af9eab1ad0ef50b8e724226abda57863e8 (patch)
treeb7877a83d594bc6c9452873d3d8f2a83b40d8d28
parent32ba7b5f6bcd48cf85c14c077321feb02415d668 (diff)
FIXUP create_dl_acked_block (->index2)
Ticket: OW#???? Sponsored-by: On-Waves ehf
-rw-r--r--src/tbf_dl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index 25e9742..3b0e2f8 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -648,8 +648,8 @@ struct msgb *gprs_rlcmac_dl_tbf::create_dl_acked_block(
/* TODO: Use real puncturing values */
punct[data_block_idx] = data_block_idx;
- rlc.block_info[data_block_idx] = m_rlc.block(index)->block_info;
rdbi = &rlc.block_info[data_block_idx];
+ *rdbi = m_rlc.block(bsn)->block_info;
is_final = is_final || rdbi->cv == 0;
LOGP(DRLCMACDL, LOGL_DEBUG, "- Copying data unit %d (BSN %d)\n",