summaryrefslogtreecommitdiff
path: root/src/drivers/intel/wifi/wifi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/intel/wifi/wifi.c')
-rw-r--r--src/drivers/intel/wifi/wifi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/wifi/wifi.c b/src/drivers/intel/wifi/wifi.c
index 4b96a0297c..df425fad10 100644
--- a/src/drivers/intel/wifi/wifi.c
+++ b/src/drivers/intel/wifi/wifi.c
@@ -198,7 +198,7 @@ static void intel_wifi_fill_ssdt(struct device *dev)
const char *path = acpi_device_path(dev->bus->dev);
u32 address;
- if (!path)
+ if (!path || !dev->enabled)
return;
/* Device */