tbf: Remove the trx_no field from the tbf, go through the trx object
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp
index 76ddac4..504f6b7 100644
--- a/src/gprs_rlcmac_sched.cpp
+++ b/src/gprs_rlcmac_sched.cpp
@@ -40,7 +40,7 @@
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 @@
}
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