diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gprs_rlcmac_sched.cpp | 5 | ||||
-rw-r--r-- | src/tbf_dl.cpp | 2 |
2 files changed, 4 insertions, 3 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) diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp index 9e4d078a..62d378fa 100644 --- a/src/tbf_dl.cpp +++ b/src/tbf_dl.cpp @@ -762,8 +762,6 @@ struct msgb *gprs_rlcmac_dl_tbf::create_dl_acked_block( /* Increment TX-counter */ m_tx_counter++; - bts->rlc_sent(); - return dl_msg; } |