diff options
author | David S. Miller <davem@davemloft.net> | 2008-11-06 18:52:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-06 18:52:00 -0500 |
commit | ca409d6e08c35b01965d9211c61dbd216286f8ff (patch) | |
tree | 2bb4d7edbbbc98839426b6c08ed762288427b012 /net | |
parent | 3b53fbf4314594fa04544b02b2fc6e607912da18 (diff) | |
parent | d54bc4e3fc5c56600a13c9ebc0a7e1077ac05d59 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'net')
-rw-r--r-- | net/rfkill/rfkill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rfkill/rfkill.c b/net/rfkill/rfkill.c index f949a482b007..25ba3bd57e66 100644 --- a/net/rfkill/rfkill.c +++ b/net/rfkill/rfkill.c | |||
@@ -603,7 +603,7 @@ static int rfkill_check_duplicity(const struct rfkill *rfkill) | |||
603 | } | 603 | } |
604 | 604 | ||
605 | /* 0: first switch of its kind */ | 605 | /* 0: first switch of its kind */ |
606 | return test_bit(rfkill->type, seen); | 606 | return (test_bit(rfkill->type, seen)) ? 1 : 0; |
607 | } | 607 | } |
608 | 608 | ||
609 | static int rfkill_add_switch(struct rfkill *rfkill) | 609 | static int rfkill_add_switch(struct rfkill *rfkill) |