patch-1.3.14 linux/drivers/net/eql.c

Next file: linux/drivers/net/ibmtr.c
Previous file: linux/drivers/net/atp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.13/linux/drivers/net/eql.c linux/drivers/net/eql.c
@@ -222,7 +222,7 @@
 
   init_timer (&eql->timer);
   eql->timer.data     = (unsigned long) dev->priv;
-  eql->timer.expires  = EQL_DEFAULT_RESCHED_IVAL;
+  eql->timer.expires  = jiffies+EQL_DEFAULT_RESCHED_IVAL;
   eql->timer.function = &eql_timer;
   eql->timer_on       = 0;
 
@@ -1160,7 +1160,7 @@
 
   if (eql->timer_on != 0) 
     {
-      eql->timer.expires = EQL_DEFAULT_RESCHED_IVAL;
+      eql->timer.expires = jiffies+EQL_DEFAULT_RESCHED_IVAL;
       add_timer (&eql->timer);
     }
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this