FILS: Add FILS-SK-PFS capability into "GET_CAPABILITY fils" command
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
133439b89a
commit
31e130f82c
1 changed files with 4 additions and 0 deletions
|
@ -4175,7 +4175,11 @@ static int wpa_supplicant_ctrl_iface_get_capability(
|
||||||
#ifdef CONFIG_FILS
|
#ifdef CONFIG_FILS
|
||||||
if (os_strcmp(field, "fils") == 0 &&
|
if (os_strcmp(field, "fils") == 0 &&
|
||||||
(wpa_s->drv_flags & WPA_DRIVER_FLAGS_SUPPORT_FILS)) {
|
(wpa_s->drv_flags & WPA_DRIVER_FLAGS_SUPPORT_FILS)) {
|
||||||
|
#ifdef CONFIG_FILS_SK_PFS
|
||||||
|
res = os_snprintf(buf, buflen, "FILS FILS-SK-PFS");
|
||||||
|
#else /* CONFIG_FILS_SK_PFS */
|
||||||
res = os_snprintf(buf, buflen, "FILS");
|
res = os_snprintf(buf, buflen, "FILS");
|
||||||
|
#endif /* CONFIG_FILS_SK_PFS */
|
||||||
if (os_snprintf_error(buflen, res))
|
if (os_snprintf_error(buflen, res))
|
||||||
return -1;
|
return -1;
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue