mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 17:41:22 +00:00
netxen: fix tx timeout handling on firmware hang
Clear NX_RESETING bit in netxen_tx_timeout_task() so that the firmware watchdog task can catch need_reset request from tx timeout. Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8bee0a91dd
commit
ff8a306d63
@ -1919,6 +1919,7 @@ static void netxen_tx_timeout_task(struct work_struct *work)
|
||||
|
||||
request_reset:
|
||||
adapter->need_fw_reset = 1;
|
||||
clear_bit(__NX_RESETTING, &adapter->state);
|
||||
}
|
||||
|
||||
struct net_device_stats *netxen_nic_get_stats(struct net_device *netdev)
|
||||
|
Loading…
Reference in New Issue
Block a user