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/gprs_bssgp_pcu.h | |
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/gprs_bssgp_pcu.h')
-rw-r--r-- | src/gprs_bssgp_pcu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gprs_bssgp_pcu.h b/src/gprs_bssgp_pcu.h index d669c3a8..dc57e4f5 100644 --- a/src/gprs_bssgp_pcu.h +++ b/src/gprs_bssgp_pcu.h @@ -56,6 +56,7 @@ int gprs_bssgp_create(uint16_t local_port, uint32_t sgsn_ip, uint16_t uint16_t mcc, uint16_t mnc, uint16_t lac, uint16_t rac, uint16_t cell_id); -void gprs_bssgp_destroy(void); +void gprs_bssgp_exit_on_destroy(void); +void gprs_bssgp_destroy_or_exit(void); #endif // GPRS_BSSGP_PCU_H |