Commit 00121eaa authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5

into home.transmeta.com:/home/torvalds/v2.5/linux
parents 6bc8a393 0f416829
This diff is collapsed.
......@@ -996,13 +996,11 @@ static int if_open(struct net_device* dev)
set_bit(0,&chdlc_priv_area->config_chdlc);
chdlc_priv_area->config_chdlc_timeout=jiffies;
del_timer(&chdlc_priv_area->poll_delay_timer);
/* Start the CHDLC configuration after 1sec delay.
* This will give the interface initilization time
* to finish its configuration */
chdlc_priv_area->poll_delay_timer.expires=jiffies+HZ;
add_timer(&chdlc_priv_area->poll_delay_timer);
mod_timer(&chdlc_priv_area->poll_delay_timer, jiffies + HZ);
return err;
}
......
......@@ -4163,9 +4163,7 @@ static void trigger_fr_arp(struct net_device *dev)
{
fr_channel_t* chan = dev->priv;
del_timer(&chan->fr_arp_timer);
chan->fr_arp_timer.expires = jiffies + (chan->inarp_interval * HZ);
add_timer(&chan->fr_arp_timer);
mod_timer(&chan->fr_arp_timer, jiffies + chan->inarp_interval * HZ);
return;
}
......
......@@ -762,9 +762,7 @@ static int if_open(struct net_device *dev)
/* Start the PPP configuration after 1sec delay.
* This will give the interface initilization time
* to finish its configuration */
del_timer(&ppp_priv_area->poll_delay_timer);
ppp_priv_area->poll_delay_timer.expires = jiffies+HZ;
add_timer(&ppp_priv_area->poll_delay_timer);
mod_timer(&ppp_priv_area->poll_delay_timer, jiffies + HZ);
return 0;
}
......
......@@ -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