aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-09-29 07:50:50 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 14:45:57 +0100
commit743bafa50ca4b577416774ecc2ac3b3986bfc97e (patch)
tree3d4ad64c78f432c71723262d3c115c9106d2e9d9 /src/tbf.cpp
parent96efa70a9e4df47f98fe6ce2450d33e0c0e27294 (diff)
alloc: Introduce a backpointer from the tbf to the trx and simplify code
Kill all the level of indirections where one needs to have the BTS the TBF to find the TRX.
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r--src/tbf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index ddb3fbb8..9afa85d1 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -503,6 +503,7 @@ next_diagram:
tbf->direction = dir;
tbf->tfi = tfi;
tbf->trx_no = trx;
+ tbf->trx = &bts->trx[trx];
tbf->arfcn = bts->trx[trx].arfcn;
tbf->ms_class = ms_class;
tbf->ws = 64;