patch-2.4.21 linux-2.4.21/drivers/isdn/hysdn/hysdn_boot.c

Next file: linux-2.4.21/drivers/isdn/isdn_audio.c
Previous file: linux-2.4.21/drivers/isdn/hisax/st5481_usb.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/isdn/hysdn/hysdn_boot.c linux-2.4.21/drivers/isdn/hysdn/hysdn_boot.c
@@ -143,7 +143,7 @@
 					     (boot->pof_recid == TAG_CABSDATA) ? "CABSDATA" : "ABSDATA",
 					     datlen, boot->pof_recoffset);
 
-			if ((boot->last_error = card->writebootseq(card, boot->buf.BootBuf, datlen) < 0))
+			if ((boot->last_error = card->writebootseq(card, boot->buf.BootBuf, datlen)) < 0)
 				return (boot->last_error);	/* error writing data */
 
 			if (boot->pof_recoffset + datlen >= boot->pof_reclen)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)