summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorArron Wang <arron.wang@intel.com>2012-10-12 10:10:28 +0800
committerZhang zhengguang <zhengguang.zhang@intel.com>2013-07-04 13:36:15 +0800
commitc5591d5a96c3d7bd69029cb724e51b85d8817db8 (patch)
tree09a5ca6d5c6c3cf8fd5ca5d31044c2e6dc24d228 /src/service.c
parentee8702fb20c46dfefc8242eda701a085331e2163 (diff)
downloadconnman-c5591d5a96c3d7bd69029cb724e51b85d8817db8.tar.gz
connman-c5591d5a96c3d7bd69029cb724e51b85d8817db8.tar.bz2
connman-c5591d5a96c3d7bd69029cb724e51b85d8817db8.zip
Tizen: Fix wifi enterprise to support SIM and AKA
Revise Wi-Fi enterprise to enable PEAP, TLS, TTLS Fix wifi enterprise to support SIM and AKA
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 12d167f6..9ade8ab4 100644
--- a/src/service.c
+++ b/src/service.c
@@ -5855,12 +5855,24 @@ static int service_connect(struct connman_service *service)
if (service->eap == NULL)
return -EINVAL;
+#if defined TIZEN_EXT
+ /*
+ * never request credentials if using EAP-TLS, EAP-SIM
+ * or EAP-AKA (EAP-TLS, EAP-SIM and EAP-AKA networks
+ * need to be fully provisioned)
+ */
+ if (g_str_equal(service->eap, "tls") == TRUE ||
+ g_str_equal(service->eap, "sim") == TRUE ||
+ g_str_equal(service->eap, "aka") == TRUE)
+ break;
+#else
/*
* never request credentials if using EAP-TLS
* (EAP-TLS networks need to be fully provisioned)
*/
if (g_str_equal(service->eap, "tls") == TRUE)
break;
+#endif
/*
* Return -ENOKEY if either identity or passphrase is