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.
This commit is contained in:
Holger Hans Peter Freyther 2013-07-13 12:58:20 +02:00 committed by Ivan Kluchnikov
parent 4b984b14a3
commit 40bd0c4b57
1 changed files with 4 additions and 0 deletions

View File

@ -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;