mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
SAE: Fix build without CONFIG_AP=y
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
813e7b364f
commit
e1ae5d743f
@ -1503,7 +1503,10 @@ static int wpa_supplicant_ctrl_iface_status(struct wpa_supplicant *wpa_s,
|
||||
}
|
||||
#ifdef CONFIG_SAE
|
||||
if (wpa_s->wpa_state >= WPA_ASSOCIATED &&
|
||||
wpa_s->sme.sae.state == SAE_ACCEPTED && !wpa_s->ap_iface) {
|
||||
#ifdef CONFIG_AP
|
||||
!wpa_s->ap_iface &&
|
||||
#endif /* CONFIG_AP */
|
||||
wpa_s->sme.sae.state == SAE_ACCEPTED) {
|
||||
ret = os_snprintf(pos, end - pos, "sae_group=%d\n",
|
||||
wpa_s->sme.sae.group);
|
||||
if (ret < 0 || ret >= end - pos)
|
||||
|
Loading…
Reference in New Issue
Block a user