From 6eca28b61af1835e70a6feb86f86a0b18b1708c6 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Sat, 10 Feb 2024 12:06:48 +0100 Subject: smbios: fill wake-up type We should not use the reserved value 0x00 for the wake up type but use 0x02 (Unknown). Signed-off-by: Heinrich Schuchardt --- lib/smbios.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/smbios.c') diff --git a/lib/smbios.c b/lib/smbios.c index c83af730a91..b190b010f30 100644 --- a/lib/smbios.c +++ b/lib/smbios.c @@ -394,6 +394,7 @@ static int smbios_write_type1(ulong *current, int handle, } else { t->serial_number = smbios_add_prop(ctx, "serial", NULL); } + t->wakeup_type = SMBIOS_WAKEUP_TYPE_UNKNOWN; t->sku_number = smbios_add_prop(ctx, "sku", NULL); t->family = smbios_add_prop(ctx, "family", NULL); -- cgit v1.2.3