projects
/
connman
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ae1c73
)
Set intial service state for networks to idle
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 15 May 2009 03:28:49 +0000
(20:28 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 15 May 2009 03:28:49 +0000
(20:28 -0700)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
c735a39
..
c194c55
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-1067,6
+1067,8
@@
struct connman_service *__connman_service_create_from_network(struct connman_net
service->type = convert_network_type(network);
+ service->state = CONNMAN_SERVICE_STATE_IDLE;
+
update_from_network(service, network);
service_register(service);