diff options
author | Mark Lord <lkml@rtr.ca> | 2005-11-30 16:30:23 -0500 |
---|---|---|
committer | Francois Romieu <romieu@electric-eye.fr.zoreil.com> | 2005-11-30 16:30:23 -0500 |
commit | d9e2d185bf01e20339158f77c3fca00b02014912 (patch) | |
tree | 44cca817c379f9db5bfe457864b51297b5329314 /drivers/net/b44.c | |
parent | 346f7dbb17cb7d84317b4410df2e8f7bf2e57f44 (diff) |
b44: missing netif_wake_queue() in b44_open()
This patch fixes a problem plaguing Dell notebooks with built-in b44
ethernet: The driver refuses to transmit packets of any kind until after
the first 5-second tx_timeout occurs. This bug causes DHCP negotiation to
fail (timeout) during installation of Ubuntu Linux.
Signed-off-by: Mark Lord <lkml@rtr.ca>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'drivers/net/b44.c')
-rw-r--r-- | drivers/net/b44.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/b44.c b/drivers/net/b44.c index c53848f787eb..c8d9b4d66704 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c | |||
@@ -1417,6 +1417,7 @@ static int b44_open(struct net_device *dev) | |||
1417 | add_timer(&bp->timer); | 1417 | add_timer(&bp->timer); |
1418 | 1418 | ||
1419 | b44_enable_ints(bp); | 1419 | b44_enable_ints(bp); |
1420 | netif_start_queue(dev); | ||
1420 | out: | 1421 | out: |
1421 | return err; | 1422 | return err; |
1422 | } | 1423 | } |
@@ -2113,6 +2114,7 @@ static int b44_resume(struct pci_dev *pdev) | |||
2113 | add_timer(&bp->timer); | 2114 | add_timer(&bp->timer); |
2114 | 2115 | ||
2115 | b44_enable_ints(bp); | 2116 | b44_enable_ints(bp); |
2117 | netif_wake_queue(dev); | ||
2116 | return 0; | 2118 | return 0; |
2117 | } | 2119 | } |
2118 | 2120 | ||