3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 10:39:23 +01:00

common: Classify OWE networks as open

This commit is contained in:
James Prestwood 2018-11-16 14:22:44 -08:00 committed by Denis Kenzior
parent 8740abb60e
commit ef544dfc6e

View File

@ -79,6 +79,9 @@ enum security security_determine(uint16_t bss_capability,
info->akm_suites & IE_RSN_AKM_SUITE_FT_OVER_8021X)) info->akm_suites & IE_RSN_AKM_SUITE_FT_OVER_8021X))
return SECURITY_8021X; return SECURITY_8021X;
if (info && (info->akm_suites & IE_RSN_AKM_SUITE_OWE))
return SECURITY_NONE;
if (bss_capability & IE_BSS_CAP_PRIVACY) if (bss_capability & IE_BSS_CAP_PRIVACY)
return SECURITY_WEP; return SECURITY_WEP;