summaryrefslogtreecommitdiff
path: root/drivers/net/atlx/atlx.c
diff options
context:
space:
mode:
authorJay Cliburn <jacliburn@bellsouth.net>2008-09-27 08:17:20 +0400
committerDavid S. Miller <davem@davemloft.net>2008-10-09 03:06:47 +0400
commitb29be6d3f215ac42651545e89afecc7d9e6a10db (patch)
tree7644a6f4395e9d6044ed0275419a157b4d128f35 /drivers/net/atlx/atlx.c
parente824b3eb4acad16c64c9ddf8e63b63e2469259b0 (diff)
downloadlinux-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.c1
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);