projects
/
framework
/
connectivity
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Set the connecting flag to FALSE upon connection failure
[framework/connectivity/connman.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index
99ee917
..
d11a3a5
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-873,8
+873,10
@@
int __connman_network_connect(struct connman_network *network)
if (err < 0) {
if (err == -EINPROGRESS)
connman_network_set_associating(network, TRUE);
- else
+ else {
+ network->connecting = FALSE;
network->hidden = FALSE;
+ }
return err;
}