OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e726230
)
core/device: Don't call btd_service_disconnect on device_remove
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Tue, 9 Jul 2013 09:54:50 +0000
(12:54 +0300)
committer
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Wed, 10 Jul 2013 09:55:14 +0000
(12:55 +0300)
device_remove is called to cleanup/free the device objects so the
services should be disconnected before hand.
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
dbaf548
..
88a7b86
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-2381,8
+2381,6
@@
void device_remove(struct btd_device *device, gboolean remove_stored)
if (device->browse)
browse_request_cancel(device->browse);
- g_slist_foreach(device->services, dev_disconn_service, NULL);
-
while (device->services != NULL) {
struct btd_service *service = device->services->data;