summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSaurav Babu <saurav.babu@samsung.com>2016-09-26 17:36:23 +0530
committerSaurav Babu <saurav.babu@samsung.com>2016-09-26 17:36:23 +0530
commit7ace8c778781a6d3e47010843d9bc5c0d337594d (patch)
treedfff580a2db4c19ab0ddacd65216283a9fef2151 /plugins
parent09b29b8220c7b3f150a34e232a5f358d5a1a8c6b (diff)
downloadconnman-7ace8c778781a6d3e47010843d9bc5c0d337594d.tar.gz
connman-7ace8c778781a6d3e47010843d9bc5c0d337594d.tar.bz2
connman-7ace8c778781a6d3e47010843d9bc5c0d337594d.zip
Change-Id: I466d0a4d73ade1278211245fbc94ca2fffeb392f Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/wifi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 72eb64f7..1739e58a 100755
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -2976,7 +2976,12 @@ static void network_added(GSupplicantNetwork *supplicant_network)
#endif
if (wifi->hidden && ssid) {
+#if defined TIZEN_EXT
+ if (network_security(wifi->hidden->security) ==
+ network_security(security) &&
+#else
if (!g_strcmp0(wifi->hidden->security, security) &&
+#endif
wifi->hidden->ssid_len == ssid_len &&
!memcmp(wifi->hidden->ssid, ssid, ssid_len)) {
connman_network_connect_hidden(network,