projects
/
connman
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dd3916
)
In case of timeout make sure to cancel network operation
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 15 May 2009 03:51:52 +0000
(20:51 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 15 May 2009 03:51:52 +0000
(20:51 -0700)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
951c9d6
..
88b131a
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-292,6
+292,9
@@
static gboolean connect_timeout(gpointer user_data)
service->timeout = 0;
+ if (service->network != NULL)
+ __connman_network_disconnect(service->network);
+
if (service->pending != NULL) {
DBusMessage *reply;