]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix UUID/class mgmt command response synchronization
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 15 Mar 2013 22:06:55 +0000 (17:06 -0500)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 18 Mar 2013 17:02:01 +0000 (14:02 -0300)
commit9184a17ee526817c6fbf979581644d6da0fe9b5a
tree763dbb315b5f5ed6b479bbea19e2e4016af137d5
parenta26d867cbd0bb567bb51eead72e053863563c086
Bluetooth: Fix UUID/class mgmt command response synchronization

We should only return a mgmt command complete once all HCI commands to a
mgmt_set_dev_class or mgmt_add/remove_uuid command have completed. This
patch fixes the issue by having a proper async request complete callback
for these actions and responding to user space in the callback.

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