summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang zhengguang <zhengguang.zhang@intel.com>2015-01-15 16:27:30 +0800
committerZhang zhengguang <zhengguang.zhang@intel.com>2015-01-16 10:36:18 +0800
commit49bf3069eac66068f5488ccaa885671f5e76ff9c (patch)
treef116578eb685116026ef9be36dc83a74064df070
parent838e39d729d271459a59dba31445145f08bfa240 (diff)
downloadconnman-accepted/tizen/ivi/20150116.052317.tar.gz
connman-accepted/tizen/ivi/20150116.052317.tar.bz2
connman-accepted/tizen/ivi/20150116.052317.zip
Fixes TC-2298 Root cause: ConnMan will check the wifi security type from nfc daemon to decide whether to auto connect the related wifi service, but it can't get the security type in current mechanism, So that the wifi AP got from nfc tag will not be connected. Solution: ConnMan doesn't need to check wifi security type when it tries to provision service. Change-Id: I4ee3294214b756f9a39b6dc21cb658acd0640cc7
-rw-r--r--src/config.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/config.c b/src/config.c
index 93a788a1..61cf8aeb 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1098,7 +1098,6 @@ static int try_provision_service(struct connman_config_service *config,
enum connman_service_type type;
const void *ssid;
unsigned int ssid_len;
- const char *str;
network = __connman_service_get_network(service);
if (!network) {
@@ -1129,10 +1128,6 @@ static int try_provision_service(struct connman_config_service *config,
if (memcmp(config->ssid, ssid, ssid_len))
return -ENOENT;
- str = connman_network_get_string(network, "WiFi.Security");
- if (config->security != __connman_service_string2security(str))
- return -ENOENT;
-
break;
case CONNMAN_SERVICE_TYPE_ETHERNET: