patch-2.2.0-pre8 linux/drivers/net/ltpc.c
Next file: linux/drivers/net/pcnet32.c
Previous file: linux/drivers/net/hamradio/soundmodem/sm.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Jan 15 14:36:21 1999
- Orig file:
v2.2.0-pre7/linux/drivers/net/ltpc.c
- Orig date:
Tue Dec 22 14:16:55 1998
diff -u --recursive --new-file v2.2.0-pre7/linux/drivers/net/ltpc.c linux/drivers/net/ltpc.c
@@ -1335,7 +1335,7 @@
/* if it's in process, wait a bit for it to finish */
timeout = jiffies+HZ;
add_timer(<pc_timer);
- while(del_timer(<pc_timer) && (timeout > jiffies))
+ while(del_timer(<pc_timer) && time_after(timeout, jiffies))
{
add_timer(<pc_timer);
schedule();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov