summaryrefslogtreecommitdiff
path: root/net/bluetooth/mgmt_util.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2015-03-17 13:48:47 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-03-17 18:03:08 +0100
commit333ae95d054519f64303f0e149b4b9653cc4635b (patch)
treeca7cdc3bfba16614e8652c0b23a21e7a9ec80c9c /net/bluetooth/mgmt_util.h
parentd0f172b14afa7e0d8a19db5baa07e20b3ec8dcc8 (diff)
Bluetooth: Add channel parameter to mgmt_pending_find() API
To be able to have pending commands for different HCI channels we need to be able to distinguish for which channel a command was sent to. The channel information is already part of the socket data and can be fetched using the recently added hci_sock_get_channel() function. To not require all mgmt.c code to pass an extra channel parameter this patch also adds a helper pending_find() & pending_find_data() functions which act as a wrapper to the new mgmt_pending_find() & mgmt_pending_find_data() APIs. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/mgmt_util.h')
0 files changed, 0 insertions, 0 deletions