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:
8c33ecc
)
Use 120 seconds timeout for service connect operation
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 2 Oct 2009 01:36:53 +0000
(
03:36
+0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 2 Oct 2009 01:36:53 +0000
(
03:36
+0200)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
6c9008e
..
7c26606
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-30,6
+30,7
@@
#include "connman.h"
#define MAX_CONNECT_RETRIES 2
+#define CONNECT_TIMEOUT 120
static DBusConnection *connection = NULL;
@@
-1571,7
+1572,7
@@
int __connman_service_connect(struct connman_service *service)
return err;
}
- service->timeout = g_timeout_add_seconds(
45
,
+ service->timeout = g_timeout_add_seconds(
CONNECT_TIMEOUT
,
connect_timeout, service);
return -EINPROGRESS;