summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/isdnl3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/hisax/isdnl3.c')
-rw-r--r--drivers/isdn/hisax/isdnl3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/isdnl3.c b/drivers/isdn/hisax/isdnl3.c
index 1783c5556..a9500ef86 100644
--- a/drivers/isdn/hisax/isdnl3.c
+++ b/drivers/isdn/hisax/isdnl3.c
@@ -238,7 +238,7 @@ int
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;
}