From: Alan Jenkins Date: Sun, 19 Jul 2009 08:48:28 +0000 (+0100) Subject: acer-wmi: fix rfkill conversion X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ed5c8ef3bb2de277b7885072e0e981c41a022be5;p=openwrt%2Fstaging%2Fblogic.git acer-wmi: fix rfkill conversion Fix another polarity error introduced by the rfkill rewrite, this time in acer_rfkill_set(). Signed-off-by: Alan Jenkins Signed-off-by: John W. Linville --- diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index be2fd6f91639..fb45f5ee8df1 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -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;