]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Bluetooth: Add helper to get HCI channel of a socket
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 17 Mar 2015 11:48:46 +0000 (13:48 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 17 Mar 2015 17:03:07 +0000 (18:03 +0100)
commitd0f172b14afa7e0d8a19db5baa07e20b3ec8dcc8
tree3c793723557a6e5b9d33ce65e7ac5f51064a4746
parent49c989a0d6cd097f00f45e5c180bf3e315ca2bfa
Bluetooth: Add helper to get HCI channel of a socket

We'll need to have access to which HCI channel a socket is bound to, in
order to manage pending mgmt commands in clean way. This patch adds a
helper for the purpose.

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