summaryrefslogtreecommitdiff
path: root/src/network.c
diff options
context:
space:
mode:
authorJaehyun Kim <jeik01.kim@samsung.com>2022-02-14 19:16:29 +0900
committerJaehyun Kim <jeik01.kim@samsung.com>2022-02-14 19:16:29 +0900
commit2985b9822ac3f5acfef2933cbda98c1285e11af4 (patch)
treeb96bb85b24be4518b1e1ab4ca9ff697461967ba5 /src/network.c
parentcb44445ef9d0efad53051e796ecfa7c42add5d78 (diff)
downloadconnman-2985b9822ac3f5acfef2933cbda98c1285e11af4.tar.gz
connman-2985b9822ac3f5acfef2933cbda98c1285e11af4.tar.bz2
connman-2985b9822ac3f5acfef2933cbda98c1285e11af4.zip
Change-Id: I7286c346750504175e24cbb569404e586b309a85 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Diffstat (limited to 'src/network.c')
-rwxr-xr-xsrc/network.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/network.c b/src/network.c
index ed05a52a..6849c1b7 100755
--- a/src/network.c
+++ b/src/network.c
@@ -122,6 +122,7 @@ struct connman_network {
unsigned int keymgmt;
char *keymgmt_type;
bool rsn_mode;
+ bool pmf_required;
int disconnect_reason;
int assoc_status_code;
GSList *vsie_list;
@@ -3013,9 +3014,10 @@ int connman_network_set_bool(struct connman_network *network,
network->wifi.isHS20AP = value;
else if (g_strcmp0(key, "WiFi.TRANSITION_MODE") == 0)
network->wifi.owe_transition_mode = value;
- else if (g_strcmp0(key, "WiFi.Roaming") == 0) {
+ else if (g_strcmp0(key, "WiFi.Roaming") == 0)
network->wifi.roaming_progress = value;
- }
+ else if (g_strcmp0(key, "WiFi.PMFRequired") == 0)
+ network->wifi.pmf_required = value;
#endif
return -EINVAL;
@@ -3048,6 +3050,8 @@ bool connman_network_get_bool(struct connman_network *network,
return network->wifi.owe_transition_mode;
else if (g_str_equal(key, "WiFi.Roaming"))
return network->wifi.roaming_progress;
+ else if (g_str_equal(key, "WiFi.PMFRequired"))
+ return network->wifi.pmf_required;
#endif
return false;