acer-wmi: fix rfkill conversion
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Sun, 19 Jul 2009 08:48:28 +0000 (09:48 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Jul 2009 19:58:54 +0000 (15:58 -0400)
Fix another polarity error introduced by the rfkill rewrite,
this time in acer_rfkill_set().

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/platform/x86/acer-wmi.c

index be2fd6f916390af3b0de060b5726bc7cec676974..fb45f5ee8df12a79c49e68ca88736f31920e5d80 100644 (file)
@@ -973,7 +973,7 @@ static int acer_rfkill_set(void *data, bool blocked)
 {
        acpi_status status;
        u32 cap = (unsigned long)data;
-       status = set_u32(!!blocked, cap);
+       status = set_u32(!blocked, cap);
        if (ACPI_FAILURE(status))
                return -ENODEV;
        return 0;