patch-pre2.0.14-final2.0 linux/drivers/isdn/teles/card.c

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

diff -u --recursive --new-file pre2.0.14/linux/drivers/isdn/teles/card.c linux/drivers/isdn/teles/card.c
@@ -1,4 +1,4 @@
-/* $Id: card.c,v 1.7 1996/05/31 01:02:21 fritz Exp $
+/* $Id: card.c,v 1.9 1996/06/06 14:42:09 fritz Exp $
  *
  * card.c     low level stuff for the Teles S0 isdn card
  * 
@@ -7,6 +7,9 @@
  * Beat Doebeli         log all D channel traffic
  * 
  * $Log: card.c,v $
+ * Revision 1.9  1996/06/06 14:42:09  fritz
+ * Bugfix: forgot hsp-> in last change.
+ *
  * Revision 1.7  1996/05/31 01:02:21  fritz
  * Cosmetic changes.
  *
@@ -438,7 +441,7 @@
 			if (!r & 0x80)
 				printk(KERN_WARNING
                                        "Teles: HSCX invalid frame\n");
-			if (r & 0x40)
+			if ((r & 0x40) && hsp->mode)
 				printk(KERN_WARNING "Teles: HSCX RDO mode=%d\n",hsp->mode);
 			if (!r & 0x20)
 				printk(KERN_WARNING "Teles: HSCX CRC error\n");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this