diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-09-06 16:42:09 +0300 |
---|---|---|
committer | Gregory Greenman <gregory.greenman@intel.com> | 2022-09-18 14:40:13 +0300 |
commit | 7138763e02d1585659a5e82d517f096459985704 (patch) | |
tree | 6ef1a42b0fa316cb68e398909bdc1a47e53b0dfb /drivers/net/wireless/intel/iwlwifi/fw/api/cmdhdr.h | |
parent | 3d579204e069d99eb9b31f4624b8e7a47cb17f56 (diff) | |
download | linux-7138763e02d1585659a5e82d517f096459985704.tar.bz2 |
wifi: iwlwifi: mvm: refactor iwl_mvm_set_sta_rate() a bit
Use a switch statement over the rate type instead of the
if chain, to simplify.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20220906161827.623e32931b67.Id743a7879e84ae37a849179e536c58b1bf55380f@changeid
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/api/cmdhdr.h')
0 files changed, 0 insertions, 0 deletions