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)
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

Simple merge
Simple merge