From 111614a9942195f6261be5cf8854d1f6fdbe1479 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 19 Oct 2013 20:04:57 +0200 Subject: 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. --- src/pcu_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pcu_main.cpp') 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); -- cgit v1.2.3