dect
/
linux-2.6
Archived
13
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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;