]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
b44: missing netif_wake_queue() in b44_open()
authorMark Lord <lkml@rtr.ca>
Wed, 30 Nov 2005 21:30:23 +0000 (22:30 +0100)
committerFrancois Romieu <romieu@electric-eye.fr.zoreil.com>
Wed, 30 Nov 2005 21:30:23 +0000 (22:30 +0100)
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>
drivers/net/b44.c

index c53848f787ebb600632d4f8b05964de4b7b919dd..c8d9b4d667041ff85991e1b0ba77c9cf548ab76e 100644 (file)
@@ -1417,6 +1417,7 @@ static int b44_open(struct net_device *dev)
        add_timer(&bp->timer);
 
        b44_enable_ints(bp);
+       netif_start_queue(dev);
 out:
        return err;
 }
@@ -2113,6 +2114,7 @@ static int b44_resume(struct pci_dev *pdev)
        add_timer(&bp->timer);
 
        b44_enable_ints(bp);
+       netif_wake_queue(dev);
        return 0;
 }