diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-07-18 03:31:17 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-07-18 03:31:17 +0200 |
commit | 35be4490007cb5bb8a6981b8544a5cfb955b3bb2 (patch) | |
tree | 6121dc7e93bedbdb5584695b6ab4b70f48c7d0d0 /plugins | |
parent | db1d4ba89d173507cc599f89da944ae0d4426db7 (diff) | |
download | connman-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.c | 2 |
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); |