!1611 启用hdi扫描无法识别wpa3热点问题修改

Merge pull request !1611 from zhupu/master
This commit is contained in:
openharmony_ci 2023-12-27 06:16:38 +00:00 committed by Gitee
commit 0b167a76e1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -238,6 +238,9 @@ static int HdiRsnKeyMgmtToAuthMgmt(const uint8_t *s)
if (HDI_GET_RSN_ID(s) == HDI_RSN_AUTH_KEY_MGMT_UNSPEC) {
return HDI_KEY_MGMT;
}
if (HDI_GET_RSN_ID(s) == HDI_RSN_AUTH_KEY_MGMT_SAE) {
return HDI_KEY_MGMT_SAE;
}
if (HDI_GET_RSN_ID(s) == HDI_RSN_AUTH_KEY_MGMT_PSK_OVER) {
return HDI_KEY_MGMT_PSK;
}