Skip to content

Commit

Permalink
Bluetooth: Update mgmt powered HCI commands to use async requests
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johan Hedberg authored and Gustavo Padovan committed Mar 18, 2013
1 parent 70da624 commit 890ea89
Showing 1 changed file with 100 additions and 63 deletions.
Loading

0 comments on commit 890ea89

Please sign in to comment.