device: added SUITE_SAE_SHA256 to _select_akm_suite

This commit is contained in:
James Prestwood 2018-08-09 11:13:54 -07:00 committed by Denis Kenzior
parent 04545b8b1b
commit d256e97b32
1 changed files with 3 additions and 0 deletions

View File

@ -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)
return IE_RSN_AKM_SUITE_8021X;
} 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) &&
bss->rsne && bss->mde_present)
return IE_RSN_AKM_SUITE_FT_USING_PSK;