summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-21 11:26:32 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-07-21 11:26:58 +0200
commitd78efecca1ca192652d1d3c0aad3674b6df757dd (patch)
tree2d68ecb4496d24b9a1692ac244433f37c6393c7f
parentfe4e8ee4be3e071561e8df12dc7e36311ed95c71 (diff)
downloadconnman-d78efecca1ca192652d1d3c0aad3674b6df757dd.tar.gz
connman-d78efecca1ca192652d1d3c0aad3674b6df757dd.tar.bz2
connman-d78efecca1ca192652d1d3c0aad3674b6df757dd.zip
Don't remove the network structure during inactive state
-rw-r--r--plugins/supplicant.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/supplicant.c b/plugins/supplicant.c
index 9dbe2dd7..5b23d921 100644
--- a/plugins/supplicant.c
+++ b/plugins/supplicant.c
@@ -1602,8 +1602,6 @@ static void state_change(struct supplicant_task *task, DBusMessage *msg)
break;
case WPA_INACTIVE:
- remove_network(task);
-
connman_network_set_connected(task->network, FALSE);
if (task->disconnecting == TRUE) {