Commit d9e2d185 authored by Mark Lord's avatar Mark Lord Committed by Francois Romieu

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: default avatarMark Lord <lkml@rtr.ca>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
parent 346f7dbb
...@@ -1417,6 +1417,7 @@ static int b44_open(struct net_device *dev) ...@@ -1417,6 +1417,7 @@ static int b44_open(struct net_device *dev)
add_timer(&bp->timer); add_timer(&bp->timer);
b44_enable_ints(bp); b44_enable_ints(bp);
netif_start_queue(dev);
out: out:
return err; return err;
} }
...@@ -2113,6 +2114,7 @@ static int b44_resume(struct pci_dev *pdev) ...@@ -2113,6 +2114,7 @@ static int b44_resume(struct pci_dev *pdev)
add_timer(&bp->timer); add_timer(&bp->timer);
b44_enable_ints(bp); b44_enable_ints(bp);
netif_wake_queue(dev);
return 0; return 0;
} }
......
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