Commit d4b00aa4 authored by Ganesh Venkatesan's avatar Ganesh Venkatesan Committed by Jeff Garzik

[PATCH] e1000 - Avoid infinite loop while trying to

parent 7a2d224f
...@@ -1842,10 +1842,8 @@ e1000_tx_timeout_task(struct net_device *netdev) ...@@ -1842,10 +1842,8 @@ e1000_tx_timeout_task(struct net_device *netdev)
{ {
struct e1000_adapter *adapter = netdev->priv; struct e1000_adapter *adapter = netdev->priv;
netif_device_detach(netdev);
e1000_down(adapter); e1000_down(adapter);
e1000_up(adapter); e1000_up(adapter);
netif_device_attach(netdev);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment