mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 13:50:13 +01:00
libnm: let nm_utils_security_valid() reject TKIP with SAE (WPA3)
SAE should always use CCMP.
This commit is contained in:
parent
31aac7a9d8
commit
4e9119c52e
1 changed files with 0 additions and 3 deletions
|
|
@ -1287,9 +1287,6 @@ nm_utils_security_valid (NMUtilsSecurityType type,
|
|||
if (!have_ap)
|
||||
return TRUE;
|
||||
if (ap_rsn & NM_802_11_AP_SEC_KEY_MGMT_SAE) {
|
||||
if ( (ap_rsn & NM_802_11_AP_SEC_PAIR_TKIP)
|
||||
&& (wifi_caps & NM_WIFI_DEVICE_CAP_CIPHER_TKIP))
|
||||
return TRUE;
|
||||
if ( (ap_rsn & NM_802_11_AP_SEC_PAIR_CCMP)
|
||||
&& (wifi_caps & NM_WIFI_DEVICE_CAP_CIPHER_CCMP))
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue