diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-03-06 16:30:52 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-07 13:54:30 -0500 |
commit | 3cc241ad713dcc4e193aec40307e9070bf817908 (patch) | |
tree | 7b393a840b93626c91dfc56361989edfc589f57a /drivers | |
parent | ae9625a1a947f33579c244b730001f2ea7d15045 (diff) |
iwlwifi: remove max_txq_num from hw_params
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index a2ef78c6af6..25fdb805abc 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -1345,7 +1345,7 @@ void iwl_bg_watchdog(unsigned long data) | |||
1345 | return; | 1345 | return; |
1346 | 1346 | ||
1347 | /* monitor and check for stuck queues */ | 1347 | /* monitor and check for stuck queues */ |
1348 | for (cnt = 0; cnt < hw_params(priv).max_txq_num; cnt++) | 1348 | for (cnt = 0; cnt < cfg(priv)->base_params->num_of_queues; cnt++) |
1349 | if (iwl_check_stuck_queue(priv, cnt)) | 1349 | if (iwl_check_stuck_queue(priv, cnt)) |
1350 | return; | 1350 | return; |
1351 | 1351 | ||