]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit97ecdf9a63d59928357418a25f1bc9f9893e07ca
tree07b9fded3e3b05f8b836c0e210ec481e04e87af9
parentbc4a8b7b831bae73394354845390ae54461b73c7
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