]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Create generic queue_monitor_skb helper function
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 12 Jan 2015 03:33:32 +0000 (19:33 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 12 Jan 2015 09:26:07 +0000 (11:26 +0200)
commit96a57306b1fbe441926493bc52ccf3f95c3ae745
tree4e42133ca1be9c6f7a45badd7448d6d28a841565
parent6b8c2b913e1c58ab7b90f2ceaf4704eaa3ed5e66
Bluetooth: Create generic queue_monitor_skb helper function

The hci_send_to_monitor function contains generic code for queueing the
packet into the receive queue of every monitor client. To avoid code
duplication, create a generic queue_monitor_skb function to interate
over all monitor sockets.

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