projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4004b6d
)
Bluetooth: mgmt: Fix clear UUIDs response
author
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 23 Feb 2012 19:33:16 +0000
(21:33 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 23 Feb 2012 20:02:27 +0000
(22:02 +0200)
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>
net/bluetooth/mgmt.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/mgmt.c
b/net/bluetooth/mgmt.c
index 30a30b7b301ce18165b97801f94b2a7619146967..93f2c1348add2930ed631e4dba2d1f8b205210f5 100644
(file)
--- a/
net/bluetooth/mgmt.c
+++ b/
net/bluetooth/mgmt.c
@@
-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 u
nlock
;
+ goto u
pdate_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;