aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-19 20:04:57 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:10 +0100
commit111614a9942195f6261be5cf8854d1f6fdbe1479 (patch)
tree627ebecacbedd290acaf7278a3b21eb139e07cfc /src/tbf.cpp
parentd6ef5345e570cf2a725e2d73bb0146b72a063f30 (diff)
ta: Create TimingAdvance class and make it belong to the BTS
This allows us to easily flush the state in case a PCU/BTS connection is lost.
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r--src/tbf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index 27532604..a42a26c1 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -135,7 +135,7 @@ static int tbf_new_dl_assignment(struct gprs_rlcmac_bts *bts,
ta = tbf->ta;
else {
/* recall TA */
- rc = recall_timing_advance(tlli);
+ rc = bts->bts->timing_advance()->recall(tlli);
if (rc < 0) {
LOGP(DRLCMAC, LOGL_NOTICE, "TA unknown"
", assuming 0\n");