patch-2.4.19 linux-2.4.19/drivers/char/esp.c
Next file: linux-2.4.19/drivers/char/eurotechwdt.c
Previous file: linux-2.4.19/drivers/char/epca.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/drivers/char/esp.c
- Orig date:
Fri Nov 9 14:01:21 2001
diff -urN linux-2.4.18/drivers/char/esp.c linux-2.4.19/drivers/char/esp.c
@@ -2162,7 +2162,7 @@
if (signal_pending(current))
break;
- if (timeout && ((orig_jiffies + timeout) < jiffies))
+ if (timeout && time_after(jiffies, orig_jiffies + timeout))
break;
serial_out(info, UART_ESI_CMD1, ESI_NO_COMMAND);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)