projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79c8fd6
)
Only disconnect the specific service if asked for it
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 15 May 2009 07:16:32 +0000
(
00:16
-0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 15 May 2009 07:16:32 +0000
(
00:16
-0700)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
a6ee992
..
789cc9d
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-379,13
+379,8
@@
static DBusMessage *disconnect_service(DBusConnection *conn,
}
if (service->network != NULL) {
- struct connman_device *device;
int err;
- device = connman_network_get_device(service->network);
- if (device != NULL)
- __connman_device_disconnect(device);
-
err = __connman_network_disconnect(service->network);
if (err < 0 && err != -EINPROGRESS)
return __connman_error_failed(msg, -err);