Revert "supplicant/config: fix setting "saw" for "wifi-sec.key-mgnt=sae""

This "fix" was wrong, because at the beginning of the if-else-block
there is already `key_mgmt_conf = g_string_new(key_mgmt);`.

This reverts commit a6e06171ad.

a6e06171ad ('supplicant/config: fix setting "saw" for "wifi-sec.key-mgnt=sae"')
This commit is contained in:
Thomas Haller 2022-04-04 22:18:34 +02:00
parent 09669f0045
commit c65a57108e
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -880,7 +880,6 @@ nm_supplicant_config_add_setting_wireless_security(NMSupplicantConfig *
break;
}
} else if (nm_streq(key_mgmt, "sae")) {
g_string_append(key_mgmt_conf, "sae");
if (_get_capability(priv, NM_SUPPL_CAP_TYPE_FT))
g_string_append(key_mgmt_conf, " ft-sae");
} else if (nm_streq(key_mgmt, "wpa-eap-suite-b-192")) {