diff options
| author | Anjaneyulu <[email protected]> | 2023-06-14 12:41:37 +0300 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2023-06-19 12:05:26 +0200 |
| commit | efbe8f81952fe469d38655744627d860879dcde8 (patch) | |
| tree | 5af2d0d40ada1cf44b803cce9ad746c52f89bd27 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 2e0ce1de206f8ad27bf07d08238f14c1c2c9ebe8 (diff) | |
wifi: iwlwifi: add a few rate index validity checks
Validate index before access iwl_rate_mcs to keep rate->index
inside the valid boundaries. Use MCS_0_INDEX if index is less
than MCS_0_INDEX and MCS_9_INDEX if index is greater then
MCS_9_INDEX.
Signed-off-by: Anjaneyulu <[email protected]>
Signed-off-by: Gregory Greenman <[email protected]>
Link: https://lore.kernel.org/r/20230614123447.79f16b3aef32.If1137f894775d6d07b78cbf3a6163ffce6399507@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions