until the B-channel bookkeeping is fixed, do at least as much as necessary

to get rid of bogus error messages
This commit is contained in:
drochner 2002-02-14 16:46:23 +00:00
parent 29cc8db414
commit c651007643
1 changed files with 4 additions and 2 deletions

View File

@ -27,7 +27,7 @@
* i4b_l4.c - kernel interface to userland
* -----------------------------------------
*
* $Id: i4b_l4.c,v 1.6 2001/11/15 09:48:28 lukem Exp $
* $Id: i4b_l4.c,v 1.7 2002/02/14 16:46:23 drochner Exp $
*
* $FreeBSD$
*
@ -36,7 +36,7 @@
*---------------------------------------------------------------------------*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: i4b_l4.c,v 1.6 2001/11/15 09:48:28 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: i4b_l4.c,v 1.7 2002/02/14 16:46:23 drochner Exp $");
#include "i4b.h"
#include "i4bipr.h"
@ -84,6 +84,7 @@ __KERNEL_RCSID(0, "$NetBSD: i4b_l4.c,v 1.6 2001/11/15 09:48:28 lukem Exp $");
#include <netisdn/i4b_global.h>
#include <netisdn/i4b_l3l4.h>
#include <netisdn/i4b_mbuf.h>
#include <netisdn/i4b_l2.h>
#include <netisdn/i4b_l3.h>
#include <netisdn/i4b_l4.h>
@ -440,6 +441,7 @@ i4b_l4_disconnect_ind(call_desc_t *cd)
if((cd->channelid == CHAN_B1) || (cd->channelid == CHAN_B2))
{
ctrl_desc[cd->bri].bch_state[cd->channelid] = BCH_ST_FREE;
i4b_l2_channel_set_state(cd->bri, cd->channelid, BCH_ST_FREE);
}
else
{