File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
drivers/net/wireless/intel/iwlwifi/pcie Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2101,10 +2101,10 @@ static void iwl_txq_gen1_update_byte_cnt_tbl(struct iwl_trans *trans,
21012101
21022102 bc_ent = cpu_to_le16 (len | (sta_id << 12 ));
21032103
2104- scd_bc_tbl [txq_id * BC_TABLE_SIZE + write_ptr ].tfd_offset = bc_ent ;
2104+ scd_bc_tbl [txq_id * TFD_QUEUE_BC_SIZE + write_ptr ].tfd_offset = bc_ent ;
21052105
21062106 if (write_ptr < TFD_QUEUE_SIZE_BC_DUP )
2107- scd_bc_tbl [txq_id * BC_TABLE_SIZE + TFD_QUEUE_SIZE_MAX + write_ptr ].tfd_offset =
2107+ scd_bc_tbl [txq_id * TFD_QUEUE_BC_SIZE + TFD_QUEUE_SIZE_MAX + write_ptr ].tfd_offset =
21082108 bc_ent ;
21092109}
21102110
@@ -2328,10 +2328,10 @@ static void iwl_txq_gen1_inval_byte_cnt_tbl(struct iwl_trans *trans,
23282328
23292329 bc_ent = cpu_to_le16 (1 | (sta_id << 12 ));
23302330
2331- scd_bc_tbl [txq_id * BC_TABLE_SIZE + read_ptr ].tfd_offset = bc_ent ;
2331+ scd_bc_tbl [txq_id * TFD_QUEUE_BC_SIZE + read_ptr ].tfd_offset = bc_ent ;
23322332
23332333 if (read_ptr < TFD_QUEUE_SIZE_BC_DUP )
2334- scd_bc_tbl [txq_id * BC_TABLE_SIZE + TFD_QUEUE_SIZE_MAX + read_ptr ].tfd_offset =
2334+ scd_bc_tbl [txq_id * TFD_QUEUE_BC_SIZE + TFD_QUEUE_SIZE_MAX + read_ptr ].tfd_offset =
23352335 bc_ent ;
23362336}
23372337
You can’t perform that action at this time.
0 commit comments