provider: Allow VPN connection if not in connected state
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 8 Aug 2012 10:22:47 +0000 (13:22 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 9 Aug 2012 09:16:51 +0000 (12:16 +0300)
commit2c5ca690ed80403f54229b005bc11cf87ba3e65b
treef8459f0c10544abf40932e08e65bb3d81afa3a4d
parentce2b475e05c1165767a251059b32d9bb22f6f864
provider: Allow VPN connection if not in connected state

Allow user to connect to VPN via dbus and supplying all
VPN parameters if the provider already exists but the VPN
is not in connected state.

This means that the user can call the Manager.ConnectProvider interface
multiple times to connect to VPN service. This patch is needed so that
OpenConnect can work correctly. Without this patch the OpenConnect cookie
cannot be passed to openconnect client program.
src/provider.c