patch-2.1.27 linux/drivers/isdn/teles/isdnl2.c

Next file: linux/drivers/isdn/teles/isdnl3.c
Previous file: linux/drivers/isdn/teles/fsm.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.26/linux/drivers/isdn/teles/isdnl2.c linux/drivers/isdn/teles/isdnl2.c
@@ -1,6 +1,9 @@
-/* $Id: isdnl2.c,v 1.2 1996/05/17 03:46:15 fritz Exp $
+/* $Id: isdnl2.c,v 1.3 1996/11/23 11:32:57 keil Exp $
  *
  * $Log: isdnl2.c,v $
+ * Revision 1.3  1996/11/23 11:32:57  keil
+ * X.75 bugfixies; Thanks to Martin Maurer
+ *
  * Revision 1.2  1996/05/17 03:46:15  fritz
  * General cleanup.
  *
@@ -319,7 +322,7 @@
 
 	if (BufPoolGet(&ibh, st->l1.smallpool, GFP_ATOMIC, (void *) st, 10))
 		return;
-	i = sethdraddr(&(st->l2), ibh, 0);
+	i = sethdraddr(&(st->l2), ibh, !0);
 	ptr = DATAPTR(ibh);
 	ptr += i;
 	*ptr = 0x73;
@@ -565,7 +568,7 @@
 			goto noRR;
 
 		if (!BufPoolGet(&ibh2, st->l1.smallpool, GFP_ATOMIC, (void *) st, 13)) {
-			i = sethdraddr(&(st->l2), ibh2, p);
+			i = sethdraddr(&(st->l2), ibh2, !0);
 			ptr = DATAPTR(ibh2);
 			ptr += i;
 
@@ -847,7 +850,7 @@
 		*ptr++ = (l2->vr << 1) | 0x1;
 		l2->vs = (l2->vs + 1) % 128;
 	} else {
-		*ptr++ = (l2->vr << 5) | (l2->vs << 1) | 0x10;
+		*ptr++ = (l2->vr << 5) | (l2->vs << 1);
 		l2->vs = (l2->vs + 1) % 8;
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov