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
- Lines: 9
- Date:
2003-06-13 07:51:35.000000000 -0700
- Orig file:
linux-2.4.20/drivers/net/wan/comx-hw-mixcom.c
- Orig date:
2001-12-21 09:41:54.000000000 -0800
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)