summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaesub kim <taesub.kim@samsung.com>2018-01-23 08:06:16 (GMT)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2018-01-23 08:06:16 (GMT)
commit45e07ac85c513f438bf4534b4a6abe36f0467248 (patch)
treeb54590383e08ce121cf483dec454cf0bfe92a086
parent0e3dff67b594543b0488007bc913b3939ffe0fe6 (diff)
parenteda600136ecca0d4cc9cffefb90dc7d96df6cd2c (diff)
downloadconnman-45e07ac85c513f438bf4534b4a6abe36f0467248.zip
connman-45e07ac85c513f438bf4534b4a6abe36f0467248.tar.gz
connman-45e07ac85c513f438bf4534b4a6abe36f0467248.tar.bz2
-rwxr-xr-xsrc/service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index ba4acc1..9510def 100755
--- a/src/service.c
+++ b/src/service.c
@@ -4107,6 +4107,7 @@ int __connman_service_set_passphrase(struct connman_service *service,
/* The encrypted passphrase is used here
* and validation is done by net-config before being encrypted.
*/
+ err = 0;
if (service->security != CONNMAN_SERVICE_SECURITY_PSK &&
service->security != CONNMAN_SERVICE_SECURITY_RSN &&
service->security != CONNMAN_SERVICE_SECURITY_WEP)