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:
10bdc91
)
Make sure to clear favorite setting on removal
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 15 May 2009 06:51:24 +0000
(23:51 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 15 May 2009 06:51:24 +0000
(23:51 -0700)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
7809918
..
bfc09ba
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-419,15
+419,12
@@
static DBusMessage *remove_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);
+ __connman_network_disconnect(service->network);
}
connman_service_set_favorite(service, FALSE);