Commit 1b4fe850 authored by Andy Grover's avatar Andy Grover

ACPI: Fix /proc/acpi/sleep (P. Christeas)

parent 44e34ca6
......@@ -330,7 +330,7 @@ acpi_system_write_sleep (
state = simple_strtoul(state_string, NULL, 0);
if (sleep_states[state])
if (!sleep_states[state])
return_VALUE(-ENODEV);
#ifdef CONFIG_SOFTWARE_SUSPEND
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment