diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-23 16:27:50 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-23 16:27:50 +0100 |
commit | b18aedcc509fd5bd97d2b20ce893a85840e13f64 (patch) | |
tree | ac8a694910a4173e1c3badef17823858ed1f44a0 /src/encoding.cpp | |
parent | 9525567d7725b4808421dc7dda26e550111214f3 (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.cpp | 2 |
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 " |