diff options
author | Niraj Kumar Goit <niraj.g@samsung.com> | 2016-06-14 22:37:28 +0530 |
---|---|---|
committer | Niraj Kumar Goit <niraj.g@samsung.com> | 2016-06-14 07:29:59 -0700 |
commit | 9dce45fbb4d830e84384fa38c5d167dea3994a0a (patch) | |
tree | ae3e9b83e5f805f3371787bfb0ac98cc43c36ef5 /src | |
parent | 535e7f69c650dd1701cdb94152a88e644d079afb (diff) | |
download | connman-9dce45fbb4d830e84384fa38c5d167dea3994a0a.tar.gz connman-9dce45fbb4d830e84384fa38c5d167dea3994a0a.tar.bz2 connman-9dce45fbb4d830e84384fa38c5d167dea3994a0a.zip |
[SPIN] config: Ignore provision_service for open(none) security.
Change-Id: I9f787846f3b1f4b4f147f64821a8b5c25b0367d7
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/config.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c index a238d57a..3818fb84 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); } |