Bluetooth: Use special function to send filter management index events
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 15 Mar 2015 02:27:55 +0000 (19:27 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 15 Mar 2015 07:47:51 +0000 (09:47 +0200)
commitf920733885546af2fd8d4b3dd5f8a1ac029f6248
treecb746a192d0c17278a11acb3a76ce6656d5f9c8d
parent17711c62915dd62ab83a5a83a64c0d6105d13b6c
Bluetooth: Use special function to send filter management index events

For sending Index Added, Index Removed, Unconfigured Index Added and
Unconfigured Index Removed managment events the new helper functions
allows taking into account if these events are enabled for a certain
management socket or not.

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