[PATCH v3 0/6] Bluetooth: HCI command synchronisation fixes
From: Johan Hedberg <hidden>
Date: 2013-03-10 05:18:37
Hi, This v3 is a rebase of the patch set against latest bluetooth-next.git, taking into account to subtle changes to the request API.
From the original cover letter:
This set of patches fixes HCI command synchronization for powered, UUID
and Class of Device related mgmt commands. It fixes these issues by
using asynchronous requests to wait for the completion of the associated
HCI commands and only then responds to user space with a mgmt command
complete event.
Johan
----------------------------------------------------------------
Johan Hedberg (6):
Bluetooth: Move power on HCI command updates to their own function
Bluetooth: Update mgmt powered HCI commands to use async requests
Bluetooth: Wait for HCI command completion with mgmt_set_powered
Bluetooth: Fix busy condition testing for EIR and class updates
Bluetooth: Fix UUID/class mgmt command response synchronization
Bluetooth: Remove useless HCI_PENDING_CLASS flag
include/net/bluetooth/hci.h | 1 -
net/bluetooth/hci_event.c | 3 +-
net/bluetooth/mgmt.c | 367 +++++++++++++++++++++++++++++--------------
3 files changed, 248 insertions(+), 123 deletions(-)