提交 c774905d 编写于 作者: E Emmanuel Grumbach

iwlwifi: mvm: check IWL_UCODE_TLV_API_SCD_CFG in API and not in capa

IWL_UCODE_TLV_API_SCD_CFG is a new API and hence, check if
enabled in the correct field.

Fixes: 0294d9ee ("iwlwifi: mvm: let the firmware configure the scheduler")
Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
上级 0b83795a
......@@ -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[];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册