patch-2.4.21 linux-2.4.21/drivers/net/wan/comx-hw-mixcom.c

Next file: linux-2.4.21/drivers/net/wan/comx-hw-munich.c
Previous file: linux-2.4.21/drivers/net/wan/c101.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/net/wan/comx-hw-mixcom.c linux-2.4.21/drivers/net/wan/comx-hw-mixcom.c
@@ -102,7 +102,7 @@
 	unsigned char cec;
 	unsigned delay = 0;
 
-	while ((cec = (rd_hscx(dev, HSCX_STAR) & HSCX_CEC) != 0) && 
+	while ((cec = (rd_hscx(dev, HSCX_STAR) & HSCX_CEC)) != 0 && 
 	    (jiffs + HZ > jiffies)) {
 		udelay(1);
 		if (++delay > (100000 / HZ)) break;

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