Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291165
b: refs/heads/master
c: 342bbf3
h: refs/heads/master
i:
  291163: 950c425
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Mar 6, 2012
1 parent 68fb5c6 commit 68d4fbc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 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: 26627687e881e79c8c8f9076f79181c2beefcae7
refs/heads/master: 342bbf3fee2fa9a18147e74b2e3c4229a4564912
18 changes: 4 additions & 14 deletions trunk/drivers/net/wireless/iwlwifi/iwl-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1345,20 +1345,10 @@ void iwl_bg_watchdog(unsigned long data)
if (timeout == 0)
return;

/* monitor and check for stuck cmd queue */
if (iwl_check_stuck_queue(priv, priv->shrd->cmd_queue))
return;

/* monitor and check for other stuck queues */
if (iwl_is_any_associated(priv)) {
for (cnt = 0; cnt < hw_params(priv).max_txq_num; cnt++) {
/* skip as we already checked the command queue */
if (cnt == priv->shrd->cmd_queue)
continue;
if (iwl_check_stuck_queue(priv, cnt))
return;
}
}
/* monitor and check for stuck queues */
for (cnt = 0; cnt < hw_params(priv).max_txq_num; cnt++)
if (iwl_check_stuck_queue(priv, cnt))
return;

mod_timer(&priv->watchdog, jiffies +
msecs_to_jiffies(IWL_WD_TICK(timeout)));
Expand Down

0 comments on commit 68d4fbc

Please sign in to comment.