aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-11 16:13:38 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-11 16:13:38 +0200
commit06d28bb08aa9834bc0f0c2740ffbebc12ce8560f (patch)
tree27c7fa3da837414eb83ac23c6291bac8cf244aa7
parent81a12be317bb5d2ad13bc27be1b2b1cb1605f4de (diff)
Add a hack to exit the pcu... quick enough..zecke/hacks/quick-exit
Done during testing on the customer site. SOmehow the PCU when re-connecting to the BTS and a newly started SGSN will not initialize the BSSGP BVCI correctly. We do have a trace... and will look into a fix.
-rw-r--r--src/gprs_bssgp_pcu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp
index 5dbfb2c..4abe436 100644
--- a/src/gprs_bssgp_pcu.cpp
+++ b/src/gprs_bssgp_pcu.cpp
@@ -630,6 +630,9 @@ int gprs_bssgp_create(uint16_t local_port, uint32_t sgsn_ip,
void gprs_bssgp_destroy(void)
{
+ LOGP(DBSSGP, LOGL_NOTICE, "Forcing to exit at bssgp destruction\n");
+ exit(0);
+
if (!bssgp_nsi)
return;