diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-09-29 07:44:39 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-30 14:45:57 +0100 |
commit | 96efa70a9e4df47f98fe6ce2450d33e0c0e27294 (patch) | |
tree | 2e45e3c5b9fa45143168ec7c27b2b8d88d45aa4a /src/gprs_rlcmac.cpp | |
parent | 02ab4a88039804ab3d09c5936f91bb0e4650a0a9 (diff) |
alloc: Call it trx_no and not trx as it is not trx object
Diffstat (limited to 'src/gprs_rlcmac.cpp')
-rw-r--r-- | src/gprs_rlcmac.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gprs_rlcmac.cpp b/src/gprs_rlcmac.cpp index 5bc58cff..6dea7c81 100644 --- a/src/gprs_rlcmac.cpp +++ b/src/gprs_rlcmac.cpp @@ -303,7 +303,7 @@ int gprs_rlcmac_add_paging(uint8_t chan_needed, uint8_t *identity_lv) if (first_ts < 0) first_ts = ts; /* break, if we already marked a slot */ - if ((slot_mask[tbf->trx] & (1 << ts))) + if ((slot_mask[tbf->trx_no] & (1 << ts))) break; } } @@ -313,14 +313,14 @@ int gprs_rlcmac_add_paging(uint8_t chan_needed, uint8_t *identity_lv) "TRX=%d TS=%d, so we mark\n", (tbf->direction == GPRS_RLCMAC_UL_TBF) ? "UL" : "DL", - tbf->tfi, tbf->trx, first_ts); - slot_mask[tbf->trx] |= (1 << first_ts); + tbf->tfi, tbf->trx_no, first_ts); + slot_mask[tbf->trx_no] |= (1 << first_ts); } else LOGP(DRLCMAC, LOGL_DEBUG, "- %s TBF=%d uses " "already marked TRX=%d TS=%d\n", (tbf->direction == GPRS_RLCMAC_UL_TBF) ? "UL" : "DL", - tbf->tfi, tbf->trx, ts); + tbf->tfi, tbf->trx_no, ts); } } |