Commit 9955cede authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] {PATCH 2.5.72] Use mod_timer in drivers_net_wan_sdla_fr.c

From:  Vinay K Nallamothu <vinay-rc@naturesoft.net>
parent cb84e0b3
...@@ -4163,9 +4163,7 @@ static void trigger_fr_arp(struct net_device *dev) ...@@ -4163,9 +4163,7 @@ static void trigger_fr_arp(struct net_device *dev)
{ {
fr_channel_t* chan = dev->priv; fr_channel_t* chan = dev->priv;
del_timer(&chan->fr_arp_timer); mod_timer(&chan->fr_arp_timer, jiffies + chan->inarp_interval * HZ);
chan->fr_arp_timer.expires = jiffies + (chan->inarp_interval * HZ);
add_timer(&chan->fr_arp_timer);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment