summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network.c b/src/network.c
index 42148a76..705feecd 100644
--- a/src/network.c
+++ b/src/network.c
@@ -857,7 +857,8 @@ int __connman_network_connect(struct connman_network *network)
DBG("network %p", network);
- if (network->connected == TRUE || network->connecting == TRUE)
+ if (network->connected == TRUE || network->connecting == TRUE ||
+ network->associating == TRUE)
return -EALREADY;
if (network->driver == NULL)