patch-2.3.99-pre7 linux/drivers/isdn/hisax/isdnl3.c
Next file: linux/drivers/isdn/hisax/saphir.c
Previous file: linux/drivers/isdn/hisax/fsm.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu May 4 11:21:18 2000
- Orig file:
v2.3.99-pre6/linux/drivers/isdn/hisax/isdnl3.c
- Orig date:
Wed Apr 26 16:34:07 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/isdn/hisax/isdnl3.c linux/drivers/isdn/hisax/isdnl3.c
@@ -238,7 +238,7 @@
L3AddTimer(struct L3Timer *t,
int millisec, int event)
{
- if (t->tl.next || t->tl.prev) {
+ if (timer_pending(&t->tl)) {
printk(KERN_WARNING "L3AddTimer: timer already active!\n");
return -1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)