Bluetooth: mgmt: Fix dev_class related command response timing
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 21:09:40 +0000 (23:09 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 22:15:26 +0000 (00:15 +0200)
commit90e704543d6702971ecfe3fe2325829d89b76f6b
tree6c124ca14e56456ebe838003ca97e5c867c0d404
parentc95f0ba76f902bc8b540468b695bcfe8948e8e46
Bluetooth: mgmt: Fix dev_class related command response timing

All mgmt commands that may fire off a hci_write_class_of_device command
should wait for the completion of the HCI command before sending a
response to user space.

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