projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e422f9a
)
service: Try to autoconnect favorite but failed services at boot
author
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 3 Nov 2010 16:48:19 +0000
(17:48 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 3 Nov 2010 17:08:37 +0000
(18:08 +0100)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
8e1171b
..
ec51a8b
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-4295,7
+4295,8
@@
static int service_load(struct connman_service *service)
str = g_key_file_get_string(keyfile,
service->identifier, "Failure", NULL);
if (str != NULL) {
- service->state = CONNMAN_SERVICE_STATE_FAILURE;
+ if (service->favorite == FALSE)
+ service->state = CONNMAN_SERVICE_STATE_FAILURE;
service->error = string2error(str);
}
break;