iwlwifi: mvm: Invert the condition for OFDM rate
authorTova Mussai <tova.mussai@intel.com>
Sun, 28 Jul 2019 10:51:07 +0000 (13:51 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 25 Oct 2019 07:10:24 +0000 (10:10 +0300)
commitd558b7f834707b6acdfd3f91c8524598db8456f0
tree0b9a1a639988cc184826ff00faf6d413dc552c2b
parent3717f91a81afde5c2b7143f0d1bafb389cfb6fad
iwlwifi: mvm: Invert the condition for OFDM rate

OFDM rate used for all bands except to band 2.4 which use CCK rate.
Inverting the condition help that in future we won't need to expand the
condition for more bands.

Signed-off-by: Tova Mussai <tova.mussai@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/intel/iwlwifi/mvm/tx.c
drivers/net/wireless/intel/iwlwifi/mvm/utils.c