Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203573
b: refs/heads/master
c: 0df170b
h: refs/heads/master
i:
  203571: f8b15ab
v: v3
  • Loading branch information
Amit Kumar Salecha authored and David S. Miller committed Jul 14, 2010
1 parent 53a1444 commit d036097
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d181688953465c76c375c665a557c1ff88dcc40
refs/heads/master: 0df170b6078c58d1d2118a5f657fe366ecdc1262
6 changes: 4 additions & 2 deletions trunk/drivers/net/qlcnic/qlcnic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2581,7 +2581,8 @@ qlcnic_check_health(struct qlcnic_adapter *adapter)
if (adapter->need_fw_reset)
goto detach;

if (adapter->reset_context) {
if (adapter->reset_context &&
auto_fw_reset == AUTO_FW_RESET_ENABLED) {
qlcnic_reset_hw_context(adapter);
adapter->netdev->trans_start = jiffies;
}
Expand All @@ -2594,7 +2595,8 @@ qlcnic_check_health(struct qlcnic_adapter *adapter)

qlcnic_dev_request_reset(adapter);

clear_bit(__QLCNIC_FW_ATTACHED, &adapter->state);
if ((auto_fw_reset == AUTO_FW_RESET_ENABLED))
clear_bit(__QLCNIC_FW_ATTACHED, &adapter->state);

dev_info(&netdev->dev, "firmware hang detected\n");

Expand Down

0 comments on commit d036097

Please sign in to comment.