summaryrefslogtreecommitdiff
path: root/vpn
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-02-13 15:29:06 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-02-19 10:51:51 (GMT)
commit0c2bdeabdea59c3d83f2f76a2331fe99b6fe3cdd (patch)
tree325d0c213dcba3a8aadec57eba73f5b82de6285c /vpn
parent856cd655111100c095be6496f85a0dc14d3d13c2 (diff)
downloadconnman-0c2bdeabdea59c3d83f2f76a2331fe99b6fe3cdd.zip
connman-0c2bdeabdea59c3d83f2f76a2331fe99b6fe3cdd.tar.gz
connman-0c2bdeabdea59c3d83f2f76a2331fe99b6fe3cdd.tar.bz2
vpn-provider: Set the state to FAILURE after auth error
Diffstat (limited to 'vpn')
-rw-r--r--vpn/vpn-provider.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vpn/vpn-provider.c b/vpn/vpn-provider.c
index 0046ea7..12aba85 100644
--- a/vpn/vpn-provider.c
+++ b/vpn/vpn-provider.c
@@ -1451,6 +1451,7 @@ int vpn_provider_indicate_error(struct vpn_provider *provider,
case VPN_PROVIDER_ERROR_LOGIN_FAILED:
break;
case VPN_PROVIDER_ERROR_AUTH_FAILED:
+ vpn_provider_set_state(provider, VPN_PROVIDER_STATE_FAILURE);
break;
case VPN_PROVIDER_ERROR_CONNECT_FAILED:
break;