Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266292
b: refs/heads/master
c: 6be19cc
h: refs/heads/master
v: v3
  • Loading branch information
Mohammed Shafi Shajakhan authored and John W. Linville committed Sep 19, 2011
1 parent e89cca1 commit c9bf6ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 39193498913f82dd7e484aa908843ca4114c3b0c
refs/heads/master: 6be19ccd698abf9c4f0b7bba5a704f94e7ccdf54
2 changes: 1 addition & 1 deletion trunk/net/rfkill/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ static bool __rfkill_set_hw_state(struct rfkill *rfkill,
else
rfkill->state &= ~RFKILL_BLOCK_HW;
*change = prev != blocked;
any = rfkill->state & RFKILL_BLOCK_ANY;
any = !!(rfkill->state & RFKILL_BLOCK_ANY);
spin_unlock_irqrestore(&rfkill->lock, flags);

rfkill_led_trigger_event(rfkill);
Expand Down

0 comments on commit c9bf6ef

Please sign in to comment.