wiphy: Handle OWE AKM for SECURITY_TYPE_NONE

This commit is contained in:
James Prestwood 2018-11-16 14:22:44 -08:00 committed by Denis Kenzior
parent ef544dfc6e
commit d19b1bb85e
1 changed files with 3 additions and 0 deletions

View File

@ -140,6 +140,9 @@ enum ie_rsn_akm_suite wiphy_select_akm(struct wiphy *wiphy,
if (info.akm_suites & IE_RSN_AKM_SUITE_PSK)
return IE_RSN_AKM_SUITE_PSK;
} else if (security == SECURITY_NONE) {
if (info.akm_suites & IE_RSN_AKM_SUITE_OWE)
return IE_RSN_AKM_SUITE_OWE;
}
return 0;