summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-18 03:31:17 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-07-18 03:31:17 +0200
commit35be4490007cb5bb8a6981b8544a5cfb955b3bb2 (patch)
tree6121dc7e93bedbdb5584695b6ab4b70f48c7d0d0 /plugins
parentdb1d4ba89d173507cc599f89da944ae0d4426db7 (diff)
downloadconnman-35be4490007cb5bb8a6981b8544a5cfb955b3bb2.tar.gz
connman-35be4490007cb5bb8a6981b8544a5cfb955b3bb2.tar.bz2
connman-35be4490007cb5bb8a6981b8544a5cfb955b3bb2.zip
If supplicant is already disconnecting return EALREADY error code
Diffstat (limited to 'plugins')
-rw-r--r--plugins/supplicant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/supplicant.c b/plugins/supplicant.c
index 700a0c10..c9db8b85 100644
--- a/plugins/supplicant.c
+++ b/plugins/supplicant.c
@@ -1778,7 +1778,7 @@ int supplicant_disconnect(struct connman_network *network)
return -ENODEV;
if (task->disconnecting == TRUE)
- return -EINPROGRESS;
+ return -EALREADY;
disable_network(task);