summaryrefslogtreecommitdiff
path: root/src/drivers/wifi
diff options
context:
space:
mode:
authorSimon Yang <simon1.yang@intel.com>2023-12-28 14:42:21 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-01-04 14:22:24 +0000
commit59b383e21c5cddc59954404f3437a3c2a4e4013d (patch)
tree1b042de4b08cd503adc9447b9093d54094782e7d /src/drivers/wifi
parent68642ca981b0976f5d2f4a118ffc669ff0d2d660 (diff)
driver/wifi: DDR RFIM _DSM method function 3 report incorrect value
The DDR RFIM _DSM method function 3 need to return: - 0: Enable DDR RFIM feature. - 1: Disable DDR RFIM feature. BUG=b:302084312 TEST=Build, dump SSDT to check _DSM function 3 return value Change-Id: I642c56a9c3160cdb41b254dc75e126cacf905b14 Signed-off-by: Simon Yang <simon1.yang@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79740 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Rex Chou <rex_chou@compal.corp-partner.google.com>
Diffstat (limited to 'src/drivers/wifi')
-rw-r--r--src/drivers/wifi/generic/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/wifi/generic/acpi.c b/src/drivers/wifi/generic/acpi.c
index f55fca7748..f37a084b53 100644
--- a/src/drivers/wifi/generic/acpi.c
+++ b/src/drivers/wifi/generic/acpi.c
@@ -144,7 +144,7 @@ static void wifi_dsm_unii4_control_enable(void *args)
static void wifi_dsm_ddrrfim_func3_cb(void *ptr)
{
const bool is_cnvi_ddr_rfim_enabled = *(bool *)ptr;
- acpigen_write_return_integer(is_cnvi_ddr_rfim_enabled ? 1 : 0);
+ acpigen_write_return_integer(is_cnvi_ddr_rfim_enabled ? 0 : 1);
}
static void (*wifi_dsm_callbacks[])(void *) = {