diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-07-13 12:58:20 +0200 |
---|---|---|
committer | Ivan Kluchnikov <kluchnikovi@gmail.com> | 2013-07-30 12:22:12 +0400 |
commit | 40bd0c4b57167975425e4f79c28cab5255d9d774 (patch) | |
tree | 1e78a8e8804d37481f21ff3f3b1217689bea1c88 | |
parent | 4b984b14a31e9606a26529d4452310f7d9fbdf21 (diff) |
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.
-rw-r--r-- | src/gprs_bssgp_pcu.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; |