lkml.org 
[lkml]   [2005]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
From
Subject[PATCH 2.6.15-rc2] 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.

One-liner fix. Please review (and apply if you like it).

Signed-off-by: Mark Lord <lkml@rtr.ca>

--- linux-2.6.15-rc2/drivers/net/b44.c 2005-11-19 22:25:03.000000000 -0500
+++ linux/drivers/net/b44.c 2005-11-24 14:28:47.000000000 -0500
@@ -1417,6 +1417,7 @@
add_timer(&bp->timer);

b44_enable_ints(bp);
+ netif_wake_queue(dev); /* prevent the initial tx_timeout() we otherwise see */
out:
return err;
}--- linux-2.6.15-rc2/drivers/net/b44.c 2005-11-19 22:25:03.000000000 -0500
+++ linux/drivers/net/b44.c 2005-11-24 14:28:47.000000000 -0500
@@ -1417,6 +1417,7 @@
add_timer(&bp->timer);

b44_enable_ints(bp);
+ netif_wake_queue(dev); /* prevent the initial tx_timeout() we otherwise see */
out:
return err;
}
\
 
 \ /
  Last update: 2005-11-24 20:46    [W:0.021 / U:1.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site