Skip to content

Commit

Permalink
iwlwifi: remove max_txq_num from hw_params
Browse files Browse the repository at this point in the history
This can be used directly from the config now.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Johannes Berg authored and John W. Linville committed Mar 7, 2012
1 parent ae9625a commit 3cc241a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/iwlwifi/iwl-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ void iwl_bg_watchdog(unsigned long data)
return;

/* monitor and check for stuck queues */
for (cnt = 0; cnt < hw_params(priv).max_txq_num; cnt++)
for (cnt = 0; cnt < cfg(priv)->base_params->num_of_queues; cnt++)
if (iwl_check_stuck_queue(priv, cnt))
return;

Expand Down

0 comments on commit 3cc241a

Please sign in to comment.