summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/wifi/generic/acpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/wifi/generic/acpi.c b/src/drivers/wifi/generic/acpi.c
index 33862d9526..ac2c5eb5ba 100644
--- a/src/drivers/wifi/generic/acpi.c
+++ b/src/drivers/wifi/generic/acpi.c
@@ -222,7 +222,7 @@ void wifi_pcie_fill_ssdt(const struct device *dev)
{
const char *path;
- if (!dev->enabled)
+ if (!is_dev_enabled(dev))
return;
path = acpi_device_path(dev);
@@ -247,7 +247,7 @@ void wifi_cnvi_fill_ssdt(const struct device *dev)
{
const char *path;
- if (!dev->enabled)
+ if (!is_dev_enabled(dev))
return;
path = acpi_device_path(dev->bus->dev);