diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2014-06-04 18:30:59 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-06-15 19:28:51 +0200 |
commit | 6d8884de490d09902e9e31a90bab9ef490ef5d82 (patch) | |
tree | f4da5e3693ac6d0887afde8bfd329e1a83bfeea2 /src/openbts_sock.cpp | |
parent | 77e58f602d52a1baaf0e11ee280d04126900c5f4 (diff) |
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
Diffstat (limited to 'src/openbts_sock.cpp')
-rw-r--r-- | src/openbts_sock.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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); } |