]> git.karo-electronics.de Git - karo-tx-linux.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)
commit6befc6445ffc6868ee6e6d0e012fc149e88d96db
tree5ecf36b60d646665227c393d7e9f11a49ca11e37
parent96026d057a1fb7da1e314a24e3a1c528321ed45e
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