Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/27962
Change subject: drivers/intel/wifi: Skip adding SSDT entry if device is disabled ......................................................................
drivers/intel/wifi: Skip adding SSDT entry if device is disabled
This change checks to ensure that device is enabled before adding entry into SSDT.
BUG=b:112371978
Change-Id: Ibe4811bef8cf0978b7a82d66a32f96247b9c823d Signed-off-by: Furquan Shaikh furquan@google.com --- M src/drivers/intel/wifi/wifi.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/62/27962/1
diff --git a/src/drivers/intel/wifi/wifi.c b/src/drivers/intel/wifi/wifi.c index 4b96a02..df425fa 100644 --- a/src/drivers/intel/wifi/wifi.c +++ b/src/drivers/intel/wifi/wifi.c @@ -198,7 +198,7 @@ const char *path = acpi_device_path(dev->bus->dev); u32 address;
- if (!path) + if (!path || !dev->enabled) return;
/* Device */