wakelock: Fix operator precedence bug
Colin Cross [Sun, 22 Aug 2010 00:27:02 +0000 (17:27 -0700)]
Change-Id: I21366ace371d1b8f4684ddbe4ea8d555a926ac21
Signed-off-by: Colin Cross <ccross@google.com>

kernel/power/wakelock.c

index ca48bb8..d3d7fd6 100644 (file)
@@ -222,7 +222,7 @@ static void print_active_locks(int type)
                                pr_info("wake lock %s, expired\n", lock->name);
                } else {
                        pr_info("active wake lock %s\n", lock->name);
-                       if (!debug_mask & DEBUG_EXPIRE)
+                       if (!(debug_mask & DEBUG_EXPIRE))
                                print_expired = false;
                }
        }