diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2012-08-14 17:05:35 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-08-15 13:49:49 +0300 |
commit | daedd87010ddcd57759b5f6c146e1ca7936136d4 (patch) | |
tree | 6a2727e241c7e5d2ae9ef5d62abda51293045be4 /src/service.c | |
parent | 3db6c5de810977be99cc44941247847147b62d96 (diff) | |
download | connman-daedd87010ddcd57759b5f6c146e1ca7936136d4.tar.gz connman-daedd87010ddcd57759b5f6c146e1ca7936136d4.tar.bz2 connman-daedd87010ddcd57759b5f6c146e1ca7936136d4.zip |
provider: Return EINPROGRESS to the caller when connect is pending
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c index 205573a6..8ebf6742 100644 --- a/src/service.c +++ b/src/service.c @@ -3467,6 +3467,12 @@ static void reply_pending(struct connman_service *service, int error) NULL); service->pending = NULL; } + + if (service->provider_pending != NULL) { + __connman_service_reply_dbus_pending(service->provider_pending, + error, service->path); + service->provider_pending = NULL; + } } connman_bool_t |