Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netisdn until the B-channel bookkeeping is fixed, do at ...



details:   https://anonhg.NetBSD.org/src/rev/feb1f411a384
branches:  trunk
changeset: 522270:feb1f411a384
user:      drochner <drochner%NetBSD.org@localhost>
date:      Thu Feb 14 16:46:23 2002 +0000

description:
until the B-channel bookkeeping is fixed, do at least as much as necessary
to get rid of bogus error messages

diffstat:

 sys/netisdn/i4b_l4.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 5be699b00039 -r feb1f411a384 sys/netisdn/i4b_l4.c
--- a/sys/netisdn/i4b_l4.c      Thu Feb 14 16:20:47 2002 +0000
+++ b/sys/netisdn/i4b_l4.c      Thu Feb 14 16:46:23 2002 +0000
@@ -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 @@
 #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 @@
        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
        {



Home | Main Index | Thread Index | Old Index