summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)