diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-09-30 15:31:56 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-16 16:28:16 +0200 |
commit | 985806030db9e86eacc888217068d87d315962e2 (patch) | |
tree | 2161bbfe0e80640f847debeee963543ac42d82a8 /src/gprs_rlcmac.cpp | |
parent | 52c911b3b495b9a345c290f686a0caea05b9d156 (diff) |
misc: Fix format and typos in the code
Diffstat (limited to 'src/gprs_rlcmac.cpp')
-rw-r--r-- | src/gprs_rlcmac.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs_rlcmac.cpp b/src/gprs_rlcmac.cpp index 1d1a8c6d..01898339 100644 --- a/src/gprs_rlcmac.cpp +++ b/src/gprs_rlcmac.cpp @@ -269,7 +269,7 @@ struct gprs_rlcmac_tbf *tbf_by_tfi(struct gprs_rlcmac_bts *bts, return NULL; if (tbf->state != GPRS_RLCMAC_RELEASING) - return tbf; + return tbf; return NULL; } @@ -654,7 +654,7 @@ int alloc_algorithm_b(struct gprs_rlcmac_bts *bts, ((ul_usage & 0x40)) ? 'D' : ((collide & 0x40))?'x':'.', ((ul_usage & 0x80)) ? 'D' : ((collide & 0x80))?'x':'.'); - /* apply massk to reduce tx_window (shifted by 3 slots) */ + /* apply mask to reduce tx_window (shifted by 3 slots) */ rx_window &= ~(collide << 3); rx_window &= ~(collide >> 5); LOGP(DRLCMAC, LOGL_DEBUG, "- Remaining slots for RX: " |