diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2013-12-11 14:25:20 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-12-12 11:03:50 +0100 |
commit | 6f7cb2cb4ff407f0af696eb9ce23bd2290450ef9 (patch) | |
tree | 45cfd17c6883a18cb94cf79a8b9d8f9220b16111 /src/rlc.cpp | |
parent | 0f2b5fc749a9954c41f05ca7391ffae705468af3 (diff) |
decoding: Use 'I' and 'R' in rbb array for DL
We want to match up rbb decoding and encoding so it helps to use the
same chars.
Diffstat (limited to 'src/rlc.cpp')
-rw-r--r-- | src/rlc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlc.cpp b/src/rlc.cpp index 4ee5f610..c725c4b4 100644 --- a/src/rlc.cpp +++ b/src/rlc.cpp @@ -96,7 +96,7 @@ void gprs_rlc_v_b::update(BTS *bts, char *show_rbb, uint8_t ssn, i >= 0 && bsn != ((w.v_a() - 1) & w.mod_sns()); i--, bsn = (bsn - 1) & w.mod_sns()) { - if (show_rbb[i] == '1') { + if (show_rbb[i] == 'R') { LOGP(DRLCMACDL, LOGL_DEBUG, "- got ack for BSN=%d\n", bsn); if (!is_acked(bsn)) *received += 1; |