Skip to content

Commit a38108a

Browse files
jmberg-intelMiriam-Rachel
authored andcommitted
wifi: iwlwifi: pcie: fix byte count table for some devices
In my previous fix for this condition, I erroneously listed 9000 instead of 7000 family, when 7000/8000 were already using iwlmvm. Thus the condition ended up wrong, causing the issue I had fixed for older devices to suddenly appear on 7000/8000 family devices. Correct the condition accordingly. Reported-by: David Wang <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Fixes: 586e3cb ("wifi: iwlwifi: fix byte count table for old devices") Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://patch.msgid.link/20250915102743.777aaafbcc6c.I84404edfdfbf400501f6fb06def5b86c501da198@changeid Signed-off-by: Miri Korenblit <[email protected]>
1 parent 9c60058 commit a38108a

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/intel/iwlwifi/pcie/gen1_2

1 file changed

+1
-1
lines changed

drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2092,7 +2092,7 @@ static void iwl_txq_gen1_update_byte_cnt_tbl(struct iwl_trans *trans,
20922092
break;
20932093
}
20942094

2095-
if (trans->mac_cfg->device_family >= IWL_DEVICE_FAMILY_9000 &&
2095+
if (trans->mac_cfg->device_family >= IWL_DEVICE_FAMILY_7000 &&
20962096
trans->mac_cfg->device_family < IWL_DEVICE_FAMILY_AX210)
20972097
len = DIV_ROUND_UP(len, 4);
20982098

0 commit comments

Comments
 (0)