mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Fix CONFIG_INTERWORKING=y build without CONFIG_HS20=y
Commit 34f2851902
('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 <j@w1.fi>
This commit is contained in:
parent
87ad672108
commit
8b49b530b3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user