summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2016-06-14 17:07:28 (GMT)
committerNiraj Kumar Goit <niraj.g@samsung.com>2016-06-14 14:29:59 (GMT)
commit9dce45fbb4d830e84384fa38c5d167dea3994a0a (patch)
treeae3e9b83e5f805f3371787bfb0ac98cc43c36ef5
parent535e7f69c650dd1701cdb94152a88e644d079afb (diff)
downloadconnman-9dce45fbb4d830e84384fa38c5d167dea3994a0a.zip
connman-9dce45fbb4d830e84384fa38c5d167dea3994a0a.tar.gz
connman-9dce45fbb4d830e84384fa38c5d167dea3994a0a.tar.bz2
[SPIN] config: Ignore provision_service for open(none) security.refs/changes/26/74526/3
Change-Id: I9f787846f3b1f4b4f147f64821a8b5c25b0367d7 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
-rwxr-xr-xsrc/config.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index a238d57..3818fb8 100755
--- a/src/config.c
+++ b/src/config.c
@@ -1363,6 +1363,13 @@ int __connman_config_provision_service(struct connman_service *service)
type != CONNMAN_SERVICE_TYPE_GADGET)
return -ENOSYS;
+#if defined TIZEN_EXT
+ if(type == CONNMAN_SERVICE_TYPE_WIFI &&
+ __connman_service_get_security(service) ==
+ CONNMAN_SERVICE_SECURITY_NONE)
+ return -ENOSYS;
+#endif
+
return find_and_provision_service(service);
}