diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-07-11 16:13:38 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-07-27 22:15:04 +0200 |
commit | a30f47613abb7c22a26d534d66e478265a8c2c09 (patch) | |
tree | 04374e0b4f096c71e9fb0a8f5262b2a3aa7c672d /src/sysmo_sock.cpp | |
parent | 51c57045e533caaa51ca5acf8929628c21dd6b94 (diff) |
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.
Diffstat (limited to 'src/sysmo_sock.cpp')
-rw-r--r-- | src/sysmo_sock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysmo_sock.cpp b/src/sysmo_sock.cpp index d4fb5a6c..e116e5a0 100644 --- a/src/sysmo_sock.cpp +++ b/src/sysmo_sock.cpp @@ -117,7 +117,7 @@ static void pcu_sock_close(struct pcu_sock_state *state, int lost) } } - gprs_bssgp_destroy(); + gprs_bssgp_destroy_or_exit(); if (lost) { state->timer.cb = pcu_sock_timeout; |