]> 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)
commit488cf87cabb47aee4a19c108f9a9bf98beb89184
tree1b653b5ec405bc8b12cd9a5297717da4f2458dd7
parent5489b6b9e63ef7f034bd07d697d6090e531b3312
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