vpn-plugin: Check completion of configure and connect
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 10 Dec 2012 10:42:05 +0000 (12:42 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 10 Dec 2012 11:01:10 +0000 (13:01 +0200)
commit82f9db9759eae677b0b91c5c9c90ca21123e517f
tree0568670073ef8d397630986199dbf144d6750a71
parent477bcfe9d54a71b5e0c93ac1bf38d62db705625d
vpn-plugin: Check completion of configure and connect

When creating a configuration, wait until both configuration and
connection has been done. Otherwise NULL user data is passed to the
callback which then cannot relay an error to the caller and the caller will
get a timeout waiting for a reply from D-Bus.
plugins/vpn.c