diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2012-03-09 11:13:40 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-09 14:25:14 -0500 |
commit | 1745e4405b2c0da6db2ec4b6bc0ad930612d8295 (patch) | |
tree | 19b38b1378f009c3ed8fde8a1631e892b8794e15 /drivers/net/wireless/iwlwifi/iwl-agn-tx.c | |
parent | 9ba1947a89938ee83e7c16709ee4095ae3e36c44 (diff) | |
download | blackbird-op-linux-1745e4405b2c0da6db2ec4b6bc0ad930612d8295.tar.gz blackbird-op-linux-1745e4405b2c0da6db2ec4b6bc0ad930612d8295.zip |
iwlwifi: fix the delta for remove max_txq_num patch
BIg portion of "iwlwifi: remove max_txq_num from hw_params" was
missing during merge, here is the fix for it.
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/net/wireless/iwlwifi/iwl-agn-tx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c index 9f224548b636..34adedc74d35 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c @@ -1159,7 +1159,7 @@ int iwlagn_rx_reply_compressed_ba(struct iwl_priv *priv, * (in Tx queue's circular buffer) of first TFD/frame in window */ u16 ba_resp_scd_ssn = le16_to_cpu(ba_resp->scd_ssn); - if (scd_flow >= hw_params(priv).max_txq_num) { + if (scd_flow >= cfg(priv)->base_params->num_of_queues) { IWL_ERR(priv, "BUG_ON scd_flow is bigger than number of queues\n"); return 0; |