]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Provide hci_send_to_flagged_channel helper function
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 15 Mar 2015 02:27:54 +0000 (19:27 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 15 Mar 2015 07:46:41 +0000 (09:46 +0200)
commit70b62e10ddb0172c8166e5aa6213465884dfe200
tree95400ac5f1fa6e83c9713a896f2bf63ce6ce3910
parent77c7d7f467cd29322e688338c60a653fb246cf6f
Bluetooth: Provide hci_send_to_flagged_channel helper function

The hci_send_to_flagged_channel helper function can be used to send
packets to all channels that have a certain HCI socket flag set.

This is especially useful for managment events that are limited to
sockets that have first enabled certain functionality. This allows
for filtering of events without confusing existing users.

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