diff options
author | Zhang zhengguang <zhengguang.zhang@intel.com> | 2015-01-15 16:27:30 +0800 |
---|---|---|
committer | Zhang zhengguang <zhengguang.zhang@intel.com> | 2015-01-16 10:36:18 +0800 |
commit | 49bf3069eac66068f5488ccaa885671f5e76ff9c (patch) | |
tree | f116578eb685116026ef9be36dc83a74064df070 | |
parent | 838e39d729d271459a59dba31445145f08bfa240 (diff) | |
download | connman-tizen_3.0.2015.q1_common.tar.gz connman-tizen_3.0.2015.q1_common.tar.bz2 connman-tizen_3.0.2015.q1_common.zip |
config: Fix service provision issuetizen_3.0_ivi_releasesubmit/tizen/20150116.024418accepted/tizen/wearable/20150119.093941accepted/tizen/tv/20150119.093517accepted/tizen/mobile/20150119.094359accepted/tizen/ivi/20150116.052317accepted/tizen/common/20150119.084328tizen_3.0_ivitizen_3.0.2015.q1_commontizen_3.0.2014.q4_common
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.c | 5 |
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: |