From 6d8884de490d09902e9e31a90bab9ef490ef5d82 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Wed, 4 Jun 2014 18:30:59 +0200 Subject: Always exit and don't try to recover The current code tries to recover from dropped connections and resets the pcu state so it can keep running. However, this never worked correctly which is why the -e option is used. This option exits the pcu as soon as the internal state needs to be reset. This patch removes this option and makes this behaviour default. Ticket: SYS#390 Sponsored-by: On-Waves ehf --- src/openbts_sock.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/openbts_sock.cpp') diff --git a/src/openbts_sock.cpp b/src/openbts_sock.cpp index a09f834b..2d9cae41 100644 --- a/src/openbts_sock.cpp +++ b/src/openbts_sock.cpp @@ -179,8 +179,10 @@ int pcu_l1if_open() void pcu_l1if_close(void) { - gprs_bssgp_destroy_or_exit(); + gprs_bssgp_destroy(); /* FIXME: cleanup l1if */ talloc_free(l1fh->fl1h); + + exit(0); } -- cgit v1.2.3