Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118551
b: refs/heads/master
c: 4a9d916
h: refs/heads/master
i:
  118549: f037000
  118547: 19c2839
  118543: deaaab1
v: v3
  • Loading branch information
Jonathan McDowell authored and John W. Linville committed Nov 6, 2008
1 parent 3c70fcf commit 221877c
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: 964d2777438bf7687324243d38ade538d9bbfe3c
refs/heads/master: 4a9d916717de0aab4313d43817164577255242fb
2 changes: 1 addition & 1 deletion trunk/net/rfkill/rfkill.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ static int rfkill_check_duplicity(const struct rfkill *rfkill)
}

/* 0: first switch of its kind */
return test_bit(rfkill->type, seen);
return (test_bit(rfkill->type, seen)) ? 1 : 0;
}

static int rfkill_add_switch(struct rfkill *rfkill)
Expand Down

0 comments on commit 221877c

Please sign in to comment.