Commit 49f62105 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_x25.c

From:  Vinay K Nallamothu <vinay-rc@naturesoft.net>
parent 5da3fc73
......@@ -1235,9 +1235,7 @@ static int if_open(struct net_device* dev)
connect(card);
S508_S514_unlock(card, &smp_flags);
del_timer(&card->u.x.x25_timer);
card->u.x.x25_timer.expires=jiffies+HZ;
add_timer(&card->u.x.x25_timer);
mod_timer(&card->u.x.x25_timer, jiffies + HZ);
}
}
/* Device is not up until the we are in connected state */
......
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