]> git.baikalelectronics.ru Git - kernel.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)
commit3ab989afe162a8537a60a83bedfee14e7d4df68e
tree3c793723557a6e5b9d33ce65e7ac5f51064a4746
parent6ce3f66480da3608177aac84b2f2a97354857d30
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