wifi: iwlwifi: fix the rf step and flavor bits range
authorMukesh Sisodiya <mukesh.sisodiya@intel.com>
Wed, 4 Oct 2023 09:36:33 +0000 (12:36 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Oct 2023 10:21:48 +0000 (12:21 +0200)
commit7dd7f99b17c3293c39cd75604f9d98549b819a0d
treea85cbf9ca2df39d10c9e29eddf70b553298bbc2f
parent048449fc666d736a1a17d950fde0b5c5c8fd10cc
wifi: iwlwifi: fix the rf step and flavor bits range

The macros used to get the RF step and flavour are using
wrong bit range. Update the bit range for both macros.

Signed-off-by: Mukesh Sisodiya <mukesh.sisodiya@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20231004123422.cfd0aaaa5eb3.Ie2dd6c3a3062647f19cb5e888c46f0fdca103484@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-prph.h