Fix enumeration mismatch during security type extraction 70/265270/1 submit/tizen/20211021.102523
authorNishant Chaprana <n.chaprana@samsung.com>
Wed, 13 Oct 2021 12:52:25 +0000 (18:22 +0530)
committerNishant Chaprana <n.chaprana@samsung.com>
Wed, 13 Oct 2021 12:54:15 +0000 (18:24 +0530)
Change-Id: I2030623974de6e6a1f62544c3ea57492b21e034a
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
packaging/capi-network-wifi-manager.spec
src/network_dbus.c
src/network_interface.h

index 7b7e72b..68f4963 100644 (file)
@@ -1,6 +1,6 @@
 Name:          capi-network-wifi-manager
 Summary:       Network Wi-Fi library in TIZEN C API
-Version:       1.3.9
+Version:       1.3.10
 Release:       6
 Group:         System/Network
 License:       Apache-2.0
index 242cc75..f21576a 100644 (file)
@@ -25,7 +25,8 @@
 
 #define WIFI_SECURITY_NONE                     "none"
 #define WIFI_SECURITY_WEP                      "wep"
-#define WIFI_SECURITY_WPA_PSK          "psk"
+#define WIFI_SECURITY_WPA_PSK                  "psk"
+#define WIFI_SECURITY_WPA_FT_PSK               "ft_psk"
 #define WIFI_SECURITY_EAP                      "ieee8021x"
 #define WIFI_SECURITY_SAE                      "sae"
 #define WIFI_SECURITY_OWE                      "owe"
@@ -125,6 +126,8 @@ static net_wifi_security_type_e __net_wifi_security_type_to_int(const gchar *typ
                ret = WIFI_SEC_WPA_PSK;
        else if (g_strcmp0(type, WIFI_SECURITY_EAP) == 0)
                ret = WIFI_SEC_EAP;
+       else if (g_strcmp0(type, WIFI_SECURITY_WPA_FT_PSK) == 0)
+               ret = WIFI_SEC_FT_PSK;
        else if (g_strcmp0(type, WIFI_SECURITY_SAE) == 0)
                ret = WIFI_SEC_SAE;
        else if (g_strcmp0(type, WIFI_SECURITY_OWE) == 0)
index 1823b77..9ffc6ff 100644 (file)
@@ -91,6 +91,7 @@ typedef enum {
        WIFI_SEC_WPA_PSK,
        WIFI_SEC_WPA2_PSK,
        WIFI_SEC_EAP,
+       WIFI_SEC_FT_PSK,
        WIFI_SEC_SAE,
        WIFI_SEC_OWE,
        WIFI_SEC_DPP,