aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_rlcmac_sched.cpp
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-05-18 16:41:03 +0200
committerHolger Freyther <holger@freyther.de>2016-05-20 16:32:06 +0000
commit9736d00b12fea82fb4c9b8dc47b7ce452660554c (patch)
tree5ffdb782cd6770ccc8c247d8d9c1d6b91fe60cc7 /src/gprs_rlcmac_sched.cpp
parent660709dc7cfd6a42088988122d65ae8dfadd009c (diff)
move statistics counter rlc_sent() to gprs_rlcmac_sched
The counter rlc_sent has nothing to do with the TBF. The RLC packet got sent in the gprs_rlcmac_sched(). Change-Id: I5d2b910ea7cc250f17530406eda3be9b29b051fd Reviewed-on: https://gerrit.osmocom.org/84 Tested-by: Jenkins Builder Reviewed-by: Holger Freyther <holger@freyther.de>
Diffstat (limited to 'src/gprs_rlcmac_sched.cpp')
-rw-r--r--src/gprs_rlcmac_sched.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp
index 313e23f4..8e05623f 100644
--- a/src/gprs_rlcmac_sched.cpp
+++ b/src/gprs_rlcmac_sched.cpp
@@ -341,8 +341,11 @@ int gprs_rlcmac_rcv_rts_block(struct gprs_rlcmac_bts *bts,
dl_ass_tbf, ul_ack_tbf);
/* Prio 2: select data message for downlink */
- if (!msg)
+ if (!msg) {
msg = sched_select_downlink(bts, trx, ts, fn, block_nr, pdch);
+ if (msg)
+ bts->bts->rlc_sent();
+ }
/* Prio 3: send dummy contol message */
if (!msg)