Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3cc241ad authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

iwlwifi: remove max_txq_num from hw_params



This can be used directly from the config now.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent ae9625a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;