Fix broken async return value for supplicant disconnect
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 16 Jul 2009 06:04:12 +0000 (08:04 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 16 Jul 2009 06:04:12 +0000 (08:04 +0200)
plugins/supplicant.c

index d838988..4c6f8d7 100644 (file)
@@ -1814,7 +1814,7 @@ int supplicant_disconnect(struct connman_network *network)
 
        task->disconnecting = TRUE;
 
-       return -EINPROGRESS;
+       return 0;
 }
 
 static void supplicant_activate(DBusConnection *conn)