From 64624f31cf81dc6164462fa153ee7a5909e21183 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 26 Mar 2018 12:34:36 +0300 Subject: [PATCH] OWE: Fix CONFIG_OWE=y build without CONFIG_IEEE80211R=y Signed-off-by: Jouni Malinen --- wpa_supplicant/events.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index 5a61e1714..fe64fc285 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -2277,9 +2277,9 @@ static int wpa_supplicant_event_associnfo(struct wpa_supplicant *wpa_s, { int l, len, found = 0, wpa_found, rsn_found; const u8 *p; -#ifdef CONFIG_IEEE80211R +#if defined(CONFIG_IEEE80211R) || defined(CONFIG_OWE) u8 bssid[ETH_ALEN]; -#endif /* CONFIG_IEEE80211R */ +#endif /* CONFIG_IEEE80211R || CONFIG_OWE */ wpa_dbg(wpa_s, MSG_DEBUG, "Association info event"); if (data->assoc_info.req_ies)