aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2014-01-15 13:53:43 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-01-15 14:33:49 +0100
commit0a940087b2c1d4e9b401c7d9c0a95420327f1382 (patch)
tree5fdb9a746c0084078523c115bc379d2ab6dced2b
parent2bf3446f7aacbb613aab651ea54d61638e8a53ab (diff)
alloc_algorithm_b: Remove obsolete 'i' incrementation from for-loop
-rw-r--r--src/gprs_rlcmac_ts_alloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs_rlcmac_ts_alloc.cpp b/src/gprs_rlcmac_ts_alloc.cpp
index 58dd2e9..366732c 100644
--- a/src/gprs_rlcmac_ts_alloc.cpp
+++ b/src/gprs_rlcmac_ts_alloc.cpp
@@ -459,7 +459,7 @@ inc_window:
"1 slot assigned\n");
break;
}
- if (++i == ms_max_txslots) {
+ if (i+1 == ms_max_txslots) {
LOGP(DRLCMAC, LOGL_DEBUG, "- Done, because "
"slots / window reached maximum "
"allowed Tx size\n");