Bluetooth: Drop LE connections for blocked devices
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 2 Jul 2014 06:36:22 +0000 (09:36 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:55 +0000 (17:42 +0200)
commit837d502efc3fe9a088b943aa1a7279cee4d0e118
tree07b9fded3e3b05f8b836c0e210ec481e04e87af9
parente493150e363917bf7e86e8fa4316e915fc2cf40b
Bluetooth: Drop LE connections for blocked devices

Unlike BR/EDR we cannot reject LE connections of blocked devices but
have to do it as soon as we get a LE Connection Complete event. The
patch adds a blacklist check to the hci_le_conn_complete_evt function
and drops all connections for blocked devices.

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