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)
commit6659358efe617bb46237e62f7303c76e10568d70
treecc4f21038000dd5a617580a7adc542a91c1c592c
parentdcc36c16c2f1c9800146c8416ee5a4c3dc974623
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