]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Bluetooth: Add blacklist support for incoming connections
authorJohan Hedberg <johan.hedberg@nokia.com>
Tue, 18 May 2010 11:20:32 +0000 (13:20 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:05 +0000 (10:39 -0700)
commitf03585689fdff4ae256edd45a35bc2dd83d3684a
treebe1516aa354aa742f2d5b69a91de0561febaffc4
parent95ffa97827371ede501615d9bd048eb5b49e8fe1
Bluetooth: Add blacklist support for incoming connections

In some circumstances it could be desirable to reject incoming
connections on the baseband level. This patch adds this feature through
two new ioctl's: HCIBLOCKADDR and HCIUNBLOCKADDR. Both take a simple
Bluetooth address as a parameter. BDADDR_ANY can be used with
HCIUNBLOCKADDR to remove all devices from the blacklist.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
fs/compat_ioctl.c
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/hci_sock.c