Bluetooth: Consolidate socket channel sending function back into one
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 15 Mar 2015 02:27:59 +0000 (19:27 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 15 Mar 2015 07:56:41 +0000 (09:56 +0200)
commitc08b1a1dba524c1cdef331c1f169db3a1b37bb4c
treee4b2abbdb127002e22ae36b1c1a124cfaae7bf5f
parent50ebc055fa758c731e6e1ce174608327aab07aec
Bluetooth: Consolidate socket channel sending function back into one

With the introduction of trusted socket flag for control and monitor
channels, it is now possible to use a single function for sending
packets to these sockets. And with that consolidate the handling.

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