2e7bab3822
ath9k: fix max phy rate at rate control init mwifiex: avoid double list_del in command cancel path iwlwifi: update SCD BC table for all SCD queues
37 lines
1.5 KiB
Diff
37 lines
1.5 KiB
Diff
From 96f1f05af76b601ab21a7dc603ae0a1cea4efc3d Mon Sep 17 00:00:00 2001
|
|
From: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
|
|
Date: Fri, 16 Dec 2011 07:53:18 -0800
|
|
Subject: [PATCH 10/10] iwlwifi: update SCD BC table for all SCD queues
|
|
|
|
Since we configure all the queues as CHAINABLE, we need to update the
|
|
byte count for all the queues, not only the AGGREGATABLE ones.
|
|
|
|
Not doing so can confuse the SCD and make the fw assert.
|
|
|
|
Cc: stable@vger.kernel.org
|
|
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
|
|
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
|
|
Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
|
---
|
|
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c | 4 +---
|
|
1 files changed, 1 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
|
|
index ce91898..5f17ab8 100644
|
|
--- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
|
|
+++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
|
|
@@ -1197,9 +1197,7 @@ static int iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb,
|
|
iwl_print_hex_dump(trans, IWL_DL_TX, (u8 *)tx_cmd->hdr, hdr_len);
|
|
|
|
/* Set up entry for this TFD in Tx byte-count array */
|
|
- if (is_agg)
|
|
- iwl_trans_txq_update_byte_cnt_tbl(trans, txq,
|
|
- le16_to_cpu(tx_cmd->len));
|
|
+ iwl_trans_txq_update_byte_cnt_tbl(trans, txq, le16_to_cpu(tx_cmd->len));
|
|
|
|
dma_sync_single_for_device(bus(trans)->dev, txcmd_phys, firstlen,
|
|
DMA_BIDIRECTIONAL);
|
|
--
|
|
1.7.4.4
|
|
|