client: Enable method call return to exit or continue running
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 25 Apr 2013 13:49:16 +0000 (16:49 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 3 May 2013 14:08:31 +0000 (17:08 +0300)
commitfff12a67390147487a7d3b41e7c8aa60487243ed
tree52aa328c9f09b41f948ac468caa2b9eed864a5e2
parent96eeaec35d249a615537e33981151b699a64d76f
client: Enable method call return to exit or continue running

Enable a client method call return function to exit or continue running when
in non-interactive mode. When a connmanctl_dbus_method_return_func_t returns
-EINPROGRESS in non-interactive mode, the command line client is kept running
even after the method call has been processed.

The command line client needs to keep running after a successful Agent
registration in order to process Agent method calls. Also enabling tethering
in non-interactive mode needs the client executing until SSID, passphrase and
tethering mode have been set.
client/commands.c
client/dbus_helpers.c
client/dbus_helpers.h