Bluetooth: mgmt: Fix clear_uuids response
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 21:24:30 +0000 (23:24 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 22:15:26 +0000 (00:15 +0200)
commit24b78d0f49b94f658e8bae707c158962535053dd
treef44e28b00ac8f811939685873d48bfd3100abd84
parent90e704543d6702971ecfe3fe2325829d89b76f6b
Bluetooth: mgmt: Fix clear_uuids response

Since the clear_uuids operation doesn't send an immediate HCI command
but just sets off a timer to wait for subsequent add_uuid calls it
doesn't make sense to wait until the timer fires off to send the
response. Instead send the response immediately.

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