summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Kim <jeik01.kim@samsung.com>2024-09-12 11:27:07 +0900
committerJaehyun Kim <jeik01.kim@samsung.com>2024-09-12 11:27:07 +0900
commita0b0be426a4da4fc0ebfe3672b0df92aa901a1db (patch)
tree253fd62d711aadfb06fef7c1b15305803c8f904d
parent47dd3fa0ce3b5b0ea3927c4a14e9941b2543ab5e (diff)
downloadconnman-a0b0be426a4da4fc0ebfe3672b0df92aa901a1db.tar.gz
connman-a0b0be426a4da4fc0ebfe3672b0df92aa901a1db.tar.bz2
connman-a0b0be426a4da4fc0ebfe3672b0df92aa901a1db.zip
Add missing security type to agent request code
Change-Id: I203b51601797c634649199984f33a4c6c2f3c2ca Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
-rwxr-xr-xsrc/agent-connman.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/agent-connman.c b/src/agent-connman.c
index e4850a8f..509358c5 100755
--- a/src/agent-connman.c
+++ b/src/agent-connman.c
@@ -258,6 +258,11 @@ static void request_input_append_passphrase(DBusMessageIter *iter,
#endif
value = "psk";
break;
+#if defined TIZEN_EXT
+ case CONNMAN_SERVICE_SECURITY_SAE:
+ value = "sae";
+ break;
+#endif
case CONNMAN_SERVICE_SECURITY_8021X:
phase2 = __connman_service_get_phase2(service);
@@ -394,6 +399,11 @@ static void previous_passphrase_handler(DBusMessageIter *iter,
#endif
data.type = "psk";
break;
+#if defined TIZEN_EXT
+ case CONNMAN_SERVICE_SECURITY_SAE:
+ data.type = "sae";
+ break;
+#endif
/*
* This should never happen: no passphrase is set if security
* is not one of the above. */