From: Amit Kumar Salecha Date: Tue, 2 Feb 2010 04:16:20 +0000 (+0000) Subject: netxen: fix tx timeout recovery for NX2031 chip X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=41f3e0b1f524c47908e944a7e55f11c371ddddec;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git netxen: fix tx timeout recovery for NX2031 chip For NX2031, first try to scrub interrupt before requesting firmware reset. Return statement was missing after scrubbbing interrupt. Signed-off-by: Vernon Mauery Signed-off-by: Amit Kumar Salecha Signed-off-by: David S. Miller --- diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 9f9d6081959b..5209095a8739 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c @@ -1941,7 +1941,7 @@ static void netxen_tx_timeout_task(struct work_struct *work) netif_wake_queue(adapter->netdev); clear_bit(__NX_RESETTING, &adapter->state); - + return; } else { clear_bit(__NX_RESETTING, &adapter->state); if (!netxen_nic_reset_context(adapter)) {