From: Niraj Kumar Goit Date: Tue, 14 Jun 2016 17:07:28 +0000 (+0530) Subject: [SPIN] config: Ignore provision_service for open(none) security. X-Git-Tag: accepted/tizen/common/20160620.163541~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9dce45fbb4d830e84384fa38c5d167dea3994a0a;p=platform%2Fupstream%2Fconnman.git [SPIN] config: Ignore provision_service for open(none) security. Change-Id: I9f787846f3b1f4b4f147f64821a8b5c25b0367d7 Signed-off-by: Niraj Kumar Goit --- 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); }