Don't remove the network structure during inactive state
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 21 Jul 2009 09:26:32 +0000 (11:26 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 21 Jul 2009 09:26:58 +0000 (11:26 +0200)
plugins/supplicant.c

index 9dbe2dd..5b23d92 100644 (file)
@@ -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) {