Bluetooth: Fix always checking the blacklist for incoming connections
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 16 Jul 2014 13:19:21 +0000 (16:19 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 16 Jul 2014 13:21:53 +0000 (15:21 +0200)
commit46c4c941a417265e4b8afb3c52f31cabcbf4deb1
tree1b653b5ec405bc8b12cd9a5297717da4f2458dd7
parentf99353cf9c061bc1700b6a49ee98cae93e28207b
Bluetooth: Fix always checking the blacklist for incoming connections

We should check the blacklist no matter what, meaning also when we're
not connectable. This patch fixes the respective logic in the function
making the decision whether to accept a connection or not.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c