]> Pileus Git - ~andy/linux/commit
Bluetooth: Convert Set Discoverable to use an asynchronous request
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 14 Oct 2013 18:15:27 +0000 (21:15 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Oct 2013 18:23:29 +0000 (11:23 -0700)
commitbfaf8c9ff17a256fe435d452e8ff5a515155ee3b
tree5c4023672c3565ee9678766d3ae0d29dfa4d6a6a
parentaa8af46e90869686e1a2707d0803ea9445a643a3
Bluetooth: Convert Set Discoverable to use an asynchronous request

This patch converts Set Discoverable to use an asynchronous request
along with its own completion callback. This is necessary for splitting
raw HCI socket use cases from mgmt, as well as for enabling the hooking
up of Advertising parameters together with the HCI_DISCOVERABLE flag
(coming in later patches).

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