From: Mark Lord Date: Wed, 30 Nov 2005 21:30:23 +0000 (+0100) Subject: b44: missing netif_wake_queue() in b44_open() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d9e2d185bf01e20339158f77c3fca00b02014912;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Andrew Morton --- diff --git a/drivers/net/b44.c b/drivers/net/b44.c index c53848f787e..c8d9b4d6670 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c @@ -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; }