From a30f47613abb7c22a26d534d66e478265a8c2c09 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 11 Jul 2013 16:13:38 +0200 Subject: misc: Add an option exit/quit when the BSSGP is supposed to be destroyed The PCU does not properly re-set the state when the connection to the BTS is lost (and the SGSN potentially is re-started during that). This results in the BSSGP BVCI > 1 remaining blocked and no data will be accepted by the SGSN. Add the '-e' option and exit the PCU when the BSSGP/NS are getting destroyed. --- src/openbts_sock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/openbts_sock.cpp') diff --git a/src/openbts_sock.cpp b/src/openbts_sock.cpp index 845aa774..a09f834b 100644 --- a/src/openbts_sock.cpp +++ b/src/openbts_sock.cpp @@ -179,7 +179,7 @@ int pcu_l1if_open() void pcu_l1if_close(void) { - gprs_bssgp_destroy(); + gprs_bssgp_destroy_or_exit(); /* FIXME: cleanup l1if */ talloc_free(l1fh->fl1h); -- cgit v1.2.3