summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/act2000/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/act2000/module.c')
-rw-r--r--drivers/isdn/act2000/module.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/isdn/act2000/module.c b/drivers/isdn/act2000/module.c
index f15279253..158d9463e 100644
--- a/drivers/isdn/act2000/module.c
+++ b/drivers/isdn/act2000/module.c
@@ -279,9 +279,7 @@ act2000_poll(unsigned long data)
act2000_receive(card);
save_flags(flags);
cli();
- del_timer(&card->ptimer);
- card->ptimer.expires = jiffies + 3;
- add_timer(&card->ptimer);
+ mod_timer(&card->ptimer, jiffies+3);
restore_flags(flags);
}