diff options
Diffstat (limited to 'src/network.c')
-rwxr-xr-x | src/network.c | 8 |
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; |