summaryrefslogtreecommitdiffstats
path: root/src/drivers/wifi/generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/wifi/generic.c')
-rw-r--r--src/drivers/wifi/generic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/wifi/generic.c b/src/drivers/wifi/generic.c
index 9f9f4faae731..fe2e39d29d84 100644
--- a/src/drivers/wifi/generic.c
+++ b/src/drivers/wifi/generic.c
@@ -187,7 +187,8 @@ void generic_wifi_fill_ssdt(struct device *dev,
/* Device */
acpigen_write_scope(path);
acpigen_write_device(acpi_device_name(dev));
- acpigen_write_name_integer("_UID", 0);
+ acpi_device_write_uid(dev);
+
if (dev->chip_ops)
acpigen_write_name_string("_DDN", dev->chip_ops->name);