mirror of https://gitee.com/openkylin/linux.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 <vernux@us.ibm.com> Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1386be55e3
commit
41f3e0b1f5
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue