diff options
| author | Emmanuel Grumbach <[email protected]> | 2024-05-12 04:31:06 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2024-05-29 13:26:54 +0000 |
| commit | 788e4c75f831d06fcfbbec1d455fac429521e607 (patch) | |
| tree | 11179e91e51f04f95e5534d5a7a69051dded2753 /drivers/net/wireless/intel/iwlwifi/mvm/d3.c | |
| parent | wifi: iwlwifi: mvm: always set the TWT IE offset (diff) | |
| download | kernel-788e4c75f831d06fcfbbec1d455fac429521e607.tar.gz kernel-788e4c75f831d06fcfbbec1d455fac429521e607.zip | |
wifi: iwlwifi: mvm: fix a crash on 7265
Since IWL_FW_CMD_VER_UNKNOWN = 99, then my change to consider
cmd_ver >= 7 instead of cmd_ver = 7 included also firmwares that don't
advertise the command version at all. This made us send a command with a
bad size and because of that, the firmware hit a BAD_COMMAND immediately
after handling the REDUCE_TX_POWER_CMD command.
Fixes: 8f892e225f41 ("wifi: iwlwifi: mvm: support iwl_dev_tx_power_cmd_v8")
Signed-off-by: Emmanuel Grumbach <[email protected]>
Reviewed-by: Johannes Berg <[email protected]>
Signed-off-by: Miri Korenblit <[email protected]>
Link: https://msgid.link/20240512072733.eb20ff5050d3.Ie4fc6f5496cd296fd6ff20d15e98676f28a3cccd@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/d3.c')
0 files changed, 0 insertions, 0 deletions
