]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
iwlwifi: mvm: check IWL_UCODE_TLV_API_SCD_CFG in API and not in capa
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 25 Jan 2015 08:03:17 +0000 (10:03 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 25 Jan 2015 08:06:14 +0000 (10:06 +0200)
IWL_UCODE_TLV_API_SCD_CFG is a new API and hence, check if
enabled in the correct field.

Fixes: 0294d9eece86 ("iwlwifi: mvm: let the firmware configure the scheduler")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mvm.h

index 979ac23522f2f44c312b37c6979535a1cb5dd799..7773ffc4ca62c1c810dddc99892e1059f460213c 100644 (file)
@@ -874,7 +874,7 @@ static inline bool iwl_mvm_is_d0i3_supported(struct iwl_mvm *mvm)
 
 static inline bool iwl_mvm_is_scd_cfg_supported(struct iwl_mvm *mvm)
 {
-       return mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_API_SCD_CFG;
+       return mvm->fw->ucode_capa.api[0] & IWL_UCODE_TLV_API_SCD_CFG;
 }
 
 extern const u8 iwl_mvm_ac_to_tx_fifo[];