]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
asus-wmi: second part of the version starts at 16 not 8
authorCorentin Chary <corentincj@iksaif.net>
Fri, 1 Jul 2011 09:34:30 +0000 (11:34 +0200)
committerMatthew Garrett <mjg@redhat.com>
Mon, 11 Jul 2011 13:43:24 +0000 (09:43 -0400)
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/asus-wmi.c

index 3e6e2a59e7ea510ab09d0d8f2fb971720046cfb6..43fff173fb9003ac743ae4dd6453f1b33ee8d56b 100644 (file)
@@ -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;
        }