wifi: iwlwifi: fix the ECKV UEFI variable name
[ Upstream commit 3ea2970b0578011ab8402ad0cff39712255f63df ] This UEFI variable name was badly named. Fix its name and also use the right GUID to find it: we need to use the BT_WIFI (a.k.a. Common) GUID. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250308231426.78c998d0fa71.I2bc9d72c1dc2c4d7028f0265634a940c2fadbbb5@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7ce37a3ca0
commit
a791a6bf02
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
|
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2021-2024 Intel Corporation
|
* Copyright(c) 2021-2025 Intel Corporation
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "iwl-drv.h"
|
#include "iwl-drv.h"
|
||||||
@@ -673,8 +673,10 @@ int iwl_uefi_get_eckv(struct iwl_fw_runtime *fwrt, u32 *extl_clk)
|
|||||||
struct uefi_cnv_var_eckv *data;
|
struct uefi_cnv_var_eckv *data;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
data = iwl_uefi_get_verified_variable(fwrt->trans, IWL_UEFI_ECKV_NAME,
|
data = iwl_uefi_get_verified_variable_guid(fwrt->trans,
|
||||||
"ECKV", sizeof(*data), NULL);
|
&IWL_EFI_WIFI_BT_GUID,
|
||||||
|
IWL_UEFI_ECKV_NAME,
|
||||||
|
"ECKV", sizeof(*data), NULL);
|
||||||
if (IS_ERR(data))
|
if (IS_ERR(data))
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2021-2024 Intel Corporation
|
* Copyright(c) 2021-2025 Intel Corporation
|
||||||
*/
|
*/
|
||||||
#ifndef __iwl_fw_uefi__
|
#ifndef __iwl_fw_uefi__
|
||||||
#define __iwl_fw_uefi__
|
#define __iwl_fw_uefi__
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
#define IWL_UEFI_WTAS_NAME L"UefiCnvWlanWTAS"
|
#define IWL_UEFI_WTAS_NAME L"UefiCnvWlanWTAS"
|
||||||
#define IWL_UEFI_SPLC_NAME L"UefiCnvWlanSPLC"
|
#define IWL_UEFI_SPLC_NAME L"UefiCnvWlanSPLC"
|
||||||
#define IWL_UEFI_WRDD_NAME L"UefiCnvWlanWRDD"
|
#define IWL_UEFI_WRDD_NAME L"UefiCnvWlanWRDD"
|
||||||
#define IWL_UEFI_ECKV_NAME L"UefiCnvWlanECKV"
|
#define IWL_UEFI_ECKV_NAME L"UefiCnvCommonECKV"
|
||||||
#define IWL_UEFI_DSM_NAME L"UefiCnvWlanGeneralCfg"
|
#define IWL_UEFI_DSM_NAME L"UefiCnvWlanGeneralCfg"
|
||||||
#define IWL_UEFI_WBEM_NAME L"UefiCnvWlanWBEM"
|
#define IWL_UEFI_WBEM_NAME L"UefiCnvWlanWBEM"
|
||||||
#define IWL_UEFI_PUNCTURING_NAME L"UefiCnvWlanPuncturing"
|
#define IWL_UEFI_PUNCTURING_NAME L"UefiCnvWlanPuncturing"
|
||||||
|
|||||||
Reference in New Issue
Block a user