diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-05-23 15:24:55 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-05-28 10:08:46 +0300 |
commit | 0aa0b19df63b1f48410bf337ee569c348b5a2cdd (patch) | |
tree | 678123ede0aa2d85c2761d0879e2bc5b123b5d4c /src/agent.c | |
parent | 6c8213f23b60fb46e6cd2572a6adc7ce4da13691 (diff) | |
download | connman-0aa0b19df63b1f48410bf337ee569c348b5a2cdd.tar.gz connman-0aa0b19df63b1f48410bf337ee569c348b5a2cdd.tar.bz2 connman-0aa0b19df63b1f48410bf337ee569c348b5a2cdd.zip |
agent: Return -EINPROGRESS when request passphrase calls an agent
As a result of returning -EINPROGRESS, the code in service.c can be
simplified.
Diffstat (limited to 'src/agent.c')
-rw-r--r-- | src/agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/agent.c b/src/agent.c index cca9ebcd..a9c2a339 100644 --- a/src/agent.c +++ b/src/agent.c @@ -480,7 +480,7 @@ int __connman_agent_request_passphrase_input(struct connman_service *service, dbus_message_unref(message); - return -EIO; + return -EINPROGRESS; } int __connman_agent_request_login_input(struct connman_service *service, |