mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-21 03:23:04 -05:00
Fix compiler warning with CONFIG_NO_STDOUT_DEBUG=y
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
7165c5dc1f
commit
76202aed23
@ -1168,6 +1168,7 @@ static int wpa_scan_result_wps_compar(const void *a, const void *b)
|
|||||||
|
|
||||||
static void dump_scan_res(struct wpa_scan_results *scan_res)
|
static void dump_scan_res(struct wpa_scan_results *scan_res)
|
||||||
{
|
{
|
||||||
|
#ifndef CONFIG_NO_STDOUT_DEBUG
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
if (scan_res->res == NULL || scan_res->num == 0)
|
if (scan_res->res == NULL || scan_res->num == 0)
|
||||||
@ -1192,6 +1193,7 @@ static void dump_scan_res(struct wpa_scan_results *scan_res)
|
|||||||
r->noise, r->level, r->flags);
|
r->noise, r->level, r->flags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif /* CONFIG_NO_STDOUT_DEBUG */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user