From 40bd0c4b57167975425e4f79c28cab5255d9d774 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 13 Jul 2013 12:58:20 +0200 Subject: bssgp: Reset the BVC and NSVC state in the destroy routine This might explain the issue of the BVCI > 1 not being unblocked as the internal state has not been re-set when destroying the bssgp. --- src/gprs_bssgp_pcu.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp index edb088c7..2e93a026 100644 --- a/src/gprs_bssgp_pcu.cpp +++ b/src/gprs_bssgp_pcu.cpp @@ -671,6 +671,10 @@ void gprs_bssgp_destroy_or_exit(void) the_pcu.bctx = NULL; /* FIXME: blocking... */ + the_pcu.nsvc_unblocked = 0; + the_pcu.bvc_sig_reset = 0; + the_pcu.bvc_reset = 0; + the_pcu.bvc_unblocked = 0; gprs_ns_destroy(bssgp_nsi); bssgp_nsi = NULL; -- cgit v1.2.3