diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2013-02-13 17:29:05 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-02-19 12:51:48 +0200 |
commit | 856cd655111100c095be6496f85a0dc14d3d13c2 (patch) | |
tree | add651a91b50586bef915ede7e822dcbf627b114 /test | |
parent | 2908f0a0546a58e02cb49492b0d7118a4f910870 (diff) | |
download | connman-856cd655111100c095be6496f85a0dc14d3d13c2.tar.gz connman-856cd655111100c095be6496f85a0dc14d3d13c2.tar.bz2 connman-856cd655111100c095be6496f85a0dc14d3d13c2.zip |
vpn-provider: Go internally into IDLE after FAILURE
Do not stay in FAILURE state as clients like connmand can
get confused about our current state. Symptom for the problem
is that after a failed connect attempt, a new connect attempt
by the client would cause immediately a failure return code
because vpnd is still in FAILURE state. The actual connect
attempt might still succeed but then the client would not
know about the success status.
By setting the state to IDLE we avoid this confusion.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions