asus-laptop: add parentheses

'!' has a higher priority than '&': bitanding has no effect.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
Roel Kluin 2008-02-02 21:07:38 +01:00 committed by Len Brown
parent f8d1c94b34
commit e1af14e4b3

View File

@ -327,7 +327,7 @@ static void write_status(acpi_handle handle, int out, int mask)
switch (mask) {
case MLED_ON:
out = !out & 0x1;
out = !(out & 0x1);
break;
case GLED_ON:
out = (out & 0x1) + 1;