diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-27 13:44:37 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-30 21:24:13 +0100 |
commit | ec80f82824d39f4378670900bcc65cc51a90da4c (patch) | |
tree | 51791a6538ac18aadc8035d76bdeb9591d3781a4 /src/gprs_rlcmac_sched.cpp | |
parent | fc498c9e7bb572ac1255f80fc2ab1794b9bc39ce (diff) |
tbf: Remove the trx_no field from the tbf, go through the trx object
Diffstat (limited to 'src/gprs_rlcmac_sched.cpp')
-rw-r--r-- | src/gprs_rlcmac_sched.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp index 76ddac44..504f6b78 100644 --- a/src/gprs_rlcmac_sched.cpp +++ b/src/gprs_rlcmac_sched.cpp @@ -40,7 +40,7 @@ static uint32_t sched_poll(struct gprs_rlcmac_bts *bts, poll_fn = poll_fn % 2715648; llist_for_each_entry(tbf, &bts->ul_tbfs, list) { /* this trx, this ts */ - if (tbf->trx_no != trx || tbf->control_ts != ts) + if (tbf->trx->trx_no != trx || tbf->control_ts != ts) continue; /* polling for next uplink block */ if (tbf->poll_state == GPRS_RLCMAC_POLL_SCHED @@ -56,7 +56,7 @@ static uint32_t sched_poll(struct gprs_rlcmac_bts *bts, } llist_for_each_entry(tbf, &bts->dl_tbfs, list) { /* this trx, this ts */ - if (tbf->trx_no != trx || tbf->control_ts != ts) + if (tbf->trx->trx_no != trx || tbf->control_ts != ts) continue; /* polling for next uplink block */ if (tbf->poll_state == GPRS_RLCMAC_POLL_SCHED |