mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 02:19:26 +01:00
device: added SUITE_SAE_SHA256 to _select_akm_suite
This commit is contained in:
parent
04545b8b1b
commit
d256e97b32
@ -639,6 +639,9 @@ static enum ie_rsn_akm_suite device_select_akm_suite(struct network *network,
|
|||||||
if (info->akm_suites & IE_RSN_AKM_SUITE_8021X)
|
if (info->akm_suites & IE_RSN_AKM_SUITE_8021X)
|
||||||
return IE_RSN_AKM_SUITE_8021X;
|
return IE_RSN_AKM_SUITE_8021X;
|
||||||
} else if (security == SECURITY_PSK) {
|
} else if (security == SECURITY_PSK) {
|
||||||
|
if (info->akm_suites & IE_RSN_AKM_SUITE_SAE_SHA256)
|
||||||
|
return IE_RSN_AKM_SUITE_SAE_SHA256;
|
||||||
|
|
||||||
if ((info->akm_suites & IE_RSN_AKM_SUITE_FT_USING_PSK) &&
|
if ((info->akm_suites & IE_RSN_AKM_SUITE_FT_USING_PSK) &&
|
||||||
bss->rsne && bss->mde_present)
|
bss->rsne && bss->mde_present)
|
||||||
return IE_RSN_AKM_SUITE_FT_USING_PSK;
|
return IE_RSN_AKM_SUITE_FT_USING_PSK;
|
||||||
|
Loading…
Reference in New Issue
Block a user