Add SAE to GET_CAPABILITY key_mgmt
Provide information about SAE AKM support in "GET_CAPABILITY key_mgmt" for completeness. The "GET_CAPABILITY auth_alg" case is already providing information about SAE support through user space SME. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
8ec7c99ee4
commit
0fb292c08e
1 changed files with 8 additions and 0 deletions
|
@ -3988,6 +3988,14 @@ static int ctrl_iface_get_capability_key_mgmt(int res, char *strict,
|
|||
}
|
||||
#endif /* CONFIG_IEEE80211R */
|
||||
#endif /* CONFIG_FILS */
|
||||
#ifdef CONFIG_SAE
|
||||
if (capa->key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_SAE) {
|
||||
ret = os_snprintf(pos, end - pos, " SAE");
|
||||
if (os_snprintf_error(end - pos, ret))
|
||||
return pos - buf;
|
||||
pos += ret;
|
||||
}
|
||||
#endif /* CONFIG_SAE */
|
||||
|
||||
return pos - buf;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue