]> git.karo-electronics.de Git - mv-sheeva.git/commit
bnx2x: avoid TX timeout when stopping device
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 18 May 2010 00:35:38 +0000 (17:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 00:35:38 +0000 (17:35 -0700)
commitc89af1a30870e04986e2c8d24c0c765de0935f4b
tree63c89530aa434fbfb384c5eb37529fe9920992ed
parenta0ba676008d9f050f1de9ede8d1ee4bf6820bfc9
bnx2x: avoid TX timeout when stopping device

When stop device call netif_carrier_off() just after disabling TX queue to
avoid possibility of netdev watchdog warning and ->ndo_tx_timeout() invocation.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c