diff options
author | Jay Cliburn <jacliburn@bellsouth.net> | 2008-09-27 08:17:20 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-09 03:06:47 +0400 |
commit | b29be6d3f215ac42651545e89afecc7d9e6a10db (patch) | |
tree | 7644a6f4395e9d6044ed0275419a157b4d128f35 /drivers/net/atlx/atlx.c | |
parent | e824b3eb4acad16c64c9ddf8e63b63e2469259b0 (diff) | |
download | linux-b29be6d3f215ac42651545e89afecc7d9e6a10db.tar.xz |
atl1: fix transmit timeout bug
See http://marc.info/?l=linux-netdev&m=121931988219314&w=2
Stop the queue and turn off carrier to prevent transmit timeouts
when the cable is unplugged/replugged.
Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atlx/atlx.c')
-rw-r--r-- | drivers/net/atlx/atlx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/atlx/atlx.c b/drivers/net/atlx/atlx.c index b3e7fcf0f6e7..3cc9d1089ca1 100644 --- a/drivers/net/atlx/atlx.c +++ b/drivers/net/atlx/atlx.c @@ -105,7 +105,6 @@ static void atlx_check_for_link(struct atlx_adapter *adapter) netdev->name); adapter->link_speed = SPEED_0; netif_carrier_off(netdev); - netif_stop_queue(netdev); } } schedule_work(&adapter->link_chg_task); |