]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Introduce a whitelist for BR/EDR devices
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Jul 2014 09:59:14 +0000 (12:59 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Jul 2014 10:25:27 +0000 (12:25 +0200)
commit2122167a1e5c05253289a0cdc5f47a6ed3a7cc82
treecc4f21038000dd5a617580a7adc542a91c1c592c
parente8c4e0098149b7c1c5fab65865861d91f89ffbf5
Bluetooth: Introduce a whitelist for BR/EDR devices

This patch extends the Add/Remove device commands by letting user space
pass BR/EDR addresses to them. The resulting entries get stored in a new
hdev->whitelist list. The idea is that we can now selectively accept
connections from devices in the list even though HCI_CONNECTABLE is not
set (the actual implementation of this is coming in a subsequent patch).

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