patch-2.2.18 linux/drivers/isdn/act2000/module.c
Next file: linux/drivers/isdn/avmb1/avmcard.h
Previous file: linux/drivers/char/wdt_pci.c
Back to the patch index
Back to the overall index
-  Lines: 11
 -  Date:
Sun Oct 15 21:51:57 2000
 -  Orig file: 
v2.2.17/drivers/isdn/act2000/module.c
 -  Orig date: 
Fri Apr 21 12:46:07 2000
 
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/isdn/act2000/module.c linux/drivers/isdn/act2000/module.c
@@ -279,9 +279,7 @@
 	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);
 }
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)