]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
OWE: Fix CONFIG_OWE=y build without CONFIG_IEEE80211R=y
authorJouni Malinen <jouni@codeaurora.org>
Mon, 26 Mar 2018 09:34:36 +0000 (12:34 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 26 Mar 2018 09:34:36 +0000 (12:34 +0300)
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpa_supplicant/events.c

index 5a61e1714edc5219e8af0e4225ac5e097ea60882..fe64fc285e8691d85cd85af85f1858bc2ea453bd 100644 (file)
@@ -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)