From 8b49b530b3fd7f6b5fce3264839ab16023d2af41 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 1 May 2017 17:24:18 +0300 Subject: [PATCH] Fix CONFIG_INTERWORKING=y build without CONFIG_HS20=y Commit 34f28519027d2504168e109519112c1b12d1fdf6 ('MBO: Parse MBO ANQP-element on STA') started using the type variable outside CONFIG_HS20 block, but forgot to remove the ifdef from the variable declaration. Signed-off-by: Jouni Malinen --- wpa_supplicant/interworking.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/wpa_supplicant/interworking.c b/wpa_supplicant/interworking.c index 1965a3e8c..225f950ee 100644 --- a/wpa_supplicant/interworking.c +++ b/wpa_supplicant/interworking.c @@ -2807,9 +2807,7 @@ static void interworking_parse_rx_anqp_resp(struct wpa_supplicant *wpa_s, { const u8 *pos = data; struct wpa_bss_anqp *anqp = NULL; -#ifdef CONFIG_HS20 u8 type; -#endif /* CONFIG_HS20 */ if (bss) anqp = bss->anqp;