Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/wireless/ath5k/base.c net/8021q/vlan_core.c
This commit is contained in:
@ -666,7 +666,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)
|
||||
|
Reference in New Issue
Block a user