Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341445
b: refs/heads/master
c: e451f94
h: refs/heads/master
i:
  341443: d43f471
v: v3
  • Loading branch information
Vasanthakumar Thiagarajan authored and Kalle Valo committed Oct 24, 2012
1 parent cc31227 commit 18506f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 9d9188409aef2f3bebd1956d2f15bc970efcea7b
refs/heads/master: e451f947c59d527088ebbd4505e776e968b9539a
5 changes: 1 addition & 4 deletions trunk/drivers/net/wireless/ath/ath6kl/recovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static void ath6kl_recovery_hb_timer(unsigned long data)
struct ath6kl *ar = (struct ath6kl *) data;
int err;

if (!ar->fw_recovery.enable)
if (!ar->fw_recovery.enable || (ar->state == ATH6KL_STATE_RECOVERY))
return;

if (ar->fw_recovery.hb_pending)
Expand All @@ -86,9 +86,6 @@ static void ath6kl_recovery_hb_timer(unsigned long data)
ath6kl_warn("Failed to send hb challenge request, err:%d\n",
err);

if ((ar->state == ATH6KL_STATE_RECOVERY) || !ar->fw_recovery.enable)
return;

mod_timer(&ar->fw_recovery.hb_timer, jiffies +
msecs_to_jiffies(ar->fw_recovery.hb_poll));
}
Expand Down

0 comments on commit 18506f1

Please sign in to comment.