提交 3cc241ad 编写于 作者: J Johannes Berg 提交者: John W. Linville

iwlwifi: remove max_txq_num from hw_params

This can be used directly from the config now.
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 ae9625a1
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册