diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-07-16 06:42:34 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-07-16 06:42:34 +0200 |
commit | 93bbe3bcd7b6f0daada0b42005bee060914509b4 (patch) | |
tree | 1f38eac857ab7abc2f332041a725f8429d0068de /plugins | |
parent | 7823560a4f57172f3239745f5d87fc5e08767fd5 (diff) | |
download | connman-93bbe3bcd7b6f0daada0b42005bee060914509b4.tar.gz connman-93bbe3bcd7b6f0daada0b42005bee060914509b4.tar.bz2 connman-93bbe3bcd7b6f0daada0b42005bee060914509b4.zip |
Fix issue with supplicant and async state notifications
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/supplicant.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/supplicant.c b/plugins/supplicant.c index 66a7580c..d838988b 100644 --- a/plugins/supplicant.c +++ b/plugins/supplicant.c @@ -1503,7 +1503,7 @@ static int task_connect(struct supplicant_task *task) enable_network(task); - return 0; + return -EINPROGRESS; } static void state_change(struct supplicant_task *task, DBusMessage *msg) @@ -1789,7 +1789,7 @@ int supplicant_connect(struct connman_network *network) return task_connect(task); } - return 0; + return -EINPROGRESS; } int supplicant_disconnect(struct connman_network *network) @@ -1814,7 +1814,7 @@ int supplicant_disconnect(struct connman_network *network) task->disconnecting = TRUE; - return 0; + return -EINPROGRESS; } static void supplicant_activate(DBusConnection *conn) |