diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-02-10 12:06:48 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-03-27 09:23:30 +0100 |
commit | 6eca28b61af1835e70a6feb86f86a0b18b1708c6 (patch) | |
tree | 0fb5fd1d61e5ac3014212f16ba8998efdf1eb7ff /lib/smbios.c | |
parent | 23109d0575bd9bd96ff0c0dabc00668bebc78239 (diff) |
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 <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/smbios.c')
-rw-r--r-- | lib/smbios.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |