]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e921f07af538e56619a73acc630d54624988938
tree1b653b5ec405bc8b12cd9a5297717da4f2458dd7
parentf2c03c07ca3f74562fea234142b39f0c9d62dd6d
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