diff options
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | 2010-02-02 07:16:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-04 06:15:24 +0300 |
commit | 41f3e0b1f524c47908e944a7e55f11c371ddddec (patch) | |
tree | 276c48bad87290f4e9839fbfbe07b0eb8b06b983 /drivers/net/netxen | |
parent | 1386be55e32a3c5d8ef4a2b243c530a7b664c02c (diff) | |
download | linux-41f3e0b1f524c47908e944a7e55f11c371ddddec.tar.xz |
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 <vernux@us.ibm.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |