summaryrefslogtreecommitdiff
path: root/plugins/ofono.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ofono.c')
-rw-r--r--plugins/ofono.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/ofono.c b/plugins/ofono.c
index 066e9b71..ed6317bd 100644
--- a/plugins/ofono.c
+++ b/plugins/ofono.c
@@ -489,6 +489,8 @@ static int network_disconnect(struct connman_network *network)
if (connman_network_get_index(network) < 0)
return -ENOTCONN;
+ connman_network_set_associating(network, FALSE);
+
return set_network_active(network, FALSE);
}