summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b593ffe8bc..fc88f4a629 100644
--- a/src/drivers/wifi/generic.c
+++ b/src/drivers/wifi/generic.c
@@ -239,7 +239,8 @@ const char *generic_wifi_acpi_name(const struct device *dev)
{
static char wifi_acpi_name[WIFI_ACPI_NAME_MAX_LEN];
- snprintf(wifi_acpi_name, sizeof(wifi_acpi_name), "WF%02x",
+ /* ACPI 6.3, ASL 20.2.2: (Name Objects Encoding). */
+ snprintf(wifi_acpi_name, sizeof(wifi_acpi_name), "WF%02X",
(dev_path_encode(dev) & 0xff));
return wifi_acpi_name;
}