aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_main.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/pcu_main.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/pcu_main.cpp')
-rw-r--r--src/pcu_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index a3b75ac7..92ff07c8 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -250,7 +250,7 @@ int main(int argc, char *argv[])
pcu_l1if_close();
- flush_timing_advance();
+ bts->bts->timing_advance()->flush();
talloc_report_full(tall_pcu_ctx, stderr);
talloc_free(tall_pcu_ctx);