dect
/
linux-2.6
Archived
13
0
Fork 0

Bluetooth: mgmt: Fix clear UUIDs response

We also need to send a proper response when clearing UUIDs. This patch
adds fixes the missing response for this use case.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Johan Hedberg 2012-02-23 21:33:16 +02:00
parent 4004b6d96a
commit 9246a8693e
1 changed files with 2 additions and 1 deletions

View File

@ -1401,7 +1401,7 @@ static int remove_uuid(struct sock *sk, u16 index, void *data, u16 len)
schedule_delayed_work(&hdev->service_cache,
msecs_to_jiffies(SERVICE_CACHE_TIMEOUT));
goto unlock;
goto update_class;
}
found = 0;
@ -1422,6 +1422,7 @@ static int remove_uuid(struct sock *sk, u16 index, void *data, u16 len)
goto unlock;
}
update_class:
err = update_class(hdev);
if (err < 0)
goto unlock;