Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155858
b: refs/heads/master
c: 48ab357
h: refs/heads/master
v: v3
  • Loading branch information
Alan Jenkins authored and John W. Linville committed Jul 21, 2009
1 parent 0ab96f6 commit eab418d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8ef86c7bfac5b44529b73b84bc50d3cf574bfb4b
refs/heads/master: 48ab3578a65c5168ecaaa3b21292b643b7bcc2d5
4 changes: 4 additions & 0 deletions trunk/net/rfkill/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,10 @@ void rfkill_set_states(struct rfkill *rfkill, bool sw, bool hw)
swprev = !!(rfkill->state & RFKILL_BLOCK_SW);
hwprev = !!(rfkill->state & RFKILL_BLOCK_HW);
__rfkill_set_sw_state(rfkill, sw);
if (hw)
rfkill->state |= RFKILL_BLOCK_HW;
else
rfkill->state &= ~RFKILL_BLOCK_HW;

spin_unlock_irqrestore(&rfkill->lock, flags);

Expand Down

0 comments on commit eab418d

Please sign in to comment.