mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
asus-wmi: second part of the version starts at 16 not 8
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
parent
39bbde0599
commit
57d5c8e742
@ -1246,7 +1246,7 @@ static int asus_wmi_platform_init(struct asus_wmi *asus)
|
||||
|
||||
/* We don't know yet what to do with this version... */
|
||||
if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_SPEC, 0, 0x9, &rv)) {
|
||||
pr_info("BIOS WMI version: %d.%d", rv >> 8, rv & 0xFF);
|
||||
pr_info("BIOS WMI version: %d.%d", rv >> 16, rv & 0xFF);
|
||||
asus->spec = rv;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user