Skip to content

Commit 96f1f05

Browse files
egrumbachlinvjw
authored andcommitted
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: [email protected] Signed-off-by: Emmanuel Grumbach <[email protected]> Signed-off-by: Wey-Yi Guy <[email protected]> Signed-off-by: John W. Linville <[email protected]>
1 parent 9763152 commit 96f1f05

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/net/wireless/iwlwifi/iwl-trans-pcie.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,9 +1197,7 @@ static int iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb,
11971197
iwl_print_hex_dump(trans, IWL_DL_TX, (u8 *)tx_cmd->hdr, hdr_len);
11981198

11991199
/* Set up entry for this TFD in Tx byte-count array */
1200-
if (is_agg)
1201-
iwl_trans_txq_update_byte_cnt_tbl(trans, txq,
1202-
le16_to_cpu(tx_cmd->len));
1200+
iwl_trans_txq_update_byte_cnt_tbl(trans, txq, le16_to_cpu(tx_cmd->len));
12031201

12041202
dma_sync_single_for_device(bus(trans)->dev, txcmd_phys, firstlen,
12051203
DMA_BIDIRECTIONAL);

0 commit comments

Comments
 (0)