]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add flags field and setting function for HCI sockets
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 15 Mar 2015 02:27:53 +0000 (19:27 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 15 Mar 2015 07:45:39 +0000 (09:45 +0200)
commit77c7d7f467cd29322e688338c60a653fb246cf6f
tree5ecf36b60d646665227c393d7e9f11a49ca11e37
parent20a6fa85720cb34f33e7f33e241d3be6fb13decc
Bluetooth: Add flags field and setting function for HCI sockets

To filter out certain actions for certain HCI sockets introcuce a flags
field that allows to configure specific settings on individual sockets.

Since the hci_pinfo structure is private in hci_sock.c, provide helper
functions for setting and clearing a given flag.

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