summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgsupplicant/supplicant.c14
-rwxr-xr-xsrc/service.c1
2 files changed, 15 insertions, 0 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index 50b0e67..062bcd3 100755
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -4720,6 +4720,19 @@ static void add_network_security_peap(DBusMessageIter *dict,
g_free(phase2_auth);
}
+#if defined TIZEN_EXT
+static void add_network_security_aka_sim(DBusMessageIter *dict,
+ GSupplicantSSID *ssid)
+{
+ if (!ssid->passphrase)
+ return;
+
+ supplicant_dbus_dict_append_basic(dict, "password",
+ DBUS_TYPE_STRING,
+ &ssid->passphrase);
+}
+#endif
+
static void add_network_security_eap(DBusMessageIter *dict,
GSupplicantSSID *ssid)
{
@@ -4745,6 +4758,7 @@ static void add_network_security_eap(DBusMessageIter *dict,
#if defined TIZEN_EXT
} else if (g_strcmp0(ssid->eap, "sim") == 0 ||
g_strcmp0(ssid->eap, "aka") == 0) {
+ add_network_security_aka_sim(dict, ssid);
#endif
} else
return;
diff --git a/src/service.c b/src/service.c
index b4390b7..a5a7f39 100755
--- a/src/service.c
+++ b/src/service.c
@@ -7658,6 +7658,7 @@ static int service_connect(struct connman_service *service)
* or EAP-AKA (EAP-TLS, EAP-SIM and EAP-AKA networks
* need to be fully provisioned)
*/
+ DBG("service eap: %s", service->eap);
if (g_str_equal(service->eap, "tls") ||
g_str_equal(service->eap, "sim") ||
g_str_equal(service->eap, "aka"))