aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoding.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-23 16:27:50 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-23 16:27:50 +0100
commitb18aedcc509fd5bd97d2b20ce893a85840e13f64 (patch)
treeac8a694910a4173e1c3badef17823858ed1f44a0 /src/encoding.cpp
parent9525567d7725b4808421dc7dda26e550111214f3 (diff)
tbf: Make the ws and sns number "private" (they should also be const)
Diffstat (limited to 'src/encoding.cpp')
-rw-r--r--src/encoding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding.cpp b/src/encoding.cpp
index 4604cb81..4855b226 100644
--- a/src/encoding.cpp
+++ b/src/encoding.cpp
@@ -363,7 +363,7 @@ void Encoding::write_packet_uplink_ack(struct gprs_rlcmac_bts *bts,
uint8_t rbb = 0;
uint16_t i, bbn;
- uint16_t mod_sns_half = (tbf->sns >> 1) - 1;
+ uint16_t mod_sns_half = (tbf->sns() >> 1) - 1;
char bit;
LOGP(DRLCMACUL, LOGL_DEBUG, "Encoding Ack/Nack for %s "