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:
199f529
)
Remove the unneeded out-of-range error code setting
author
Marcel Holtmann
<marcel@holtmann.org>
Sat, 18 Jul 2009 05:24:56 +0000
(07:24 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 18 Jul 2009 05:24:56 +0000
(07:24 +0200)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
333ff7f
..
b59234f
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-794,11
+794,6
@@
void __connman_service_put(struct connman_service *service)
iter = g_hash_table_lookup(service_hash, service->identifier);
if (iter != NULL) {
__connman_service_disconnect(service);
-
- service->state = CONNMAN_SERVICE_STATE_FAILURE;
- service->error = CONNMAN_SERVICE_ERROR_OUT_OF_RANGE;
- state_changed(service);
-
g_sequence_remove(iter);
} else
service_free(service);