From b18aedcc509fd5bd97d2b20ce893a85840e13f64 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 23 Nov 2013 16:27:50 +0100 Subject: tbf: Make the ws and sns number "private" (they should also be const) --- src/encoding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/encoding.cpp') 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 " -- cgit v1.2.3