]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Bluetooth: Split sending for HCI raw and control sockets
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 20 Feb 2012 13:50:30 +0000 (14:50 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 20 Feb 2012 13:55:11 +0000 (15:55 +0200)
commit470fe1b540fb50ba8ce01e0ac985602e8fbb108c
treec2c0b9b33c1a596c032e0eb330b0d6a66fd9c56c
parent48c7aba91f372251867d15efc9cf694ceee2de02
Bluetooth: Split sending for HCI raw and control sockets

The sending functions for HCI raw and control sockets have nothing in
common except that they iterate over the socket list. Split them into
two so they can do their job more efficient. In addition the code becomes
more readable.

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_core.c
net/bluetooth/hci_event.c
net/bluetooth/hci_sock.c
net/bluetooth/mgmt.c