summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/iwl-config.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-03-14 19:49:32 +0200
committerJohannes Berg <johannes.berg@intel.com>2023-03-15 13:25:15 +0100
commit71a54f7e74488f234fb56270253bcd08a3357d0e (patch)
treef92461d9cf486f5f85ae09970e47eef6c3a05bbd /drivers/net/wireless/intel/iwlwifi/iwl-config.h
parentf311d0113c7326ec411c9f81dbf77a2cc5ed00ff (diff)
downloadlinux-stable-71a54f7e74488f234fb56270253bcd08a3357d0e.tar.gz
linux-stable-71a54f7e74488f234fb56270253bcd08a3357d0e.tar.bz2
linux-stable-71a54f7e74488f234fb56270253bcd08a3357d0e.zip
wifi: iwlwifi: mvm: rs: print BAD_RATE for invalid HT/VHT index
If there's a rate->index that maps inside the range but to an uninitialized value, then that's also a bad rate, avoid printing "(nil)" in that case and rather print the "BAD_RATE" string instead as in the else branch. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230314194113.06b38d160fc5.I45a9254d3658b1ce796aa4c427193d3cbf638d7e@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-config.h')
0 files changed, 0 insertions, 0 deletions