summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/mvm/utils.c
diff options
context:
space:
mode:
authorGregory Greenman <gregory.greenman@intel.com>2023-10-17 12:16:44 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-10-23 12:48:29 +0200
commite25bd1853cc8308158d97e5b3696ea3689fa0840 (patch)
treed857576bf05218053475ba75b3b09bf6dd1896c1 /drivers/net/wireless/intel/iwlwifi/mvm/utils.c
parent37fb29bd1f90f16d1abc95c0e9f0ff8eec9829ad (diff)
wifi: iwlwifi: mvm: fix size check for fw_link_id
Check that fw_link_id does not exceed the size of link_id_to_link_conf array. There's no any codepath that can cause that, but it's still safer to verify in case fw_link_id gets corrupted. Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20231017115047.3385bd11f423.I2d30fdb464f951c648217553c47901857a0046c7@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/utils.c')
0 files changed, 0 insertions, 0 deletions