]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Update mgmt powered HCI commands to use async requests
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 15 Mar 2013 22:06:52 +0000 (17:06 -0500)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 18 Mar 2013 17:01:59 +0000 (14:01 -0300)
commit27062e4540c554488706b80fca0c0addc3bdf9e9
treea024dfdd2c6aeab5d9db31807d02240c766cddd9
parentf3b41eae9bce6d86041a3e35847c8239ff5a4467
Bluetooth: Update mgmt powered HCI commands to use async requests

This patch updates sending of HCI commands related to mgmt_set_powered
(e.g. class, name and EIR data) to be sent using asynchronous requests.
This is necessary since it's the only (well, at least the cleanest) way
to keep the power on procedure synchronized and let user space know it
has completed only when all HCI commands are completed (this actual fix
is coming in a subsequent patch).

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c