From: Jouni Malinen Date: Wed, 23 Dec 2020 12:09:52 +0000 (+0200) Subject: tests: Fix p2p fuzzer build after API change X-Git-Tag: hostap_2_10~711 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=581dfcc413e338023009c1d44d790b378242d9d9;p=thirdparty%2Fhostap.git tests: Fix p2p fuzzer build after API change Commit 7b121af26af5 ("P2P: Delay P2P scan when an external scan is in progress") added a new argument to p2p_scan_res_handled(), but did not update this test tool. Fix this by using hardcoded value 0 for the new delay argument. Signed-off-by: Jouni Malinen --- diff --git a/tests/fuzzing/p2p/p2p.c b/tests/fuzzing/p2p/p2p.c index 8ffcbbda6b..fc83c3561c 100644 --- a/tests/fuzzing/p2p/p2p.c +++ b/tests/fuzzing/p2p/p2p.c @@ -115,7 +115,7 @@ static void test_send(void *eloop_data, void *user_ctx) os_memset(&rx_time, 0, sizeof(rx_time)); p2p_scan_res_handler(ctx->p2p, (u8 *) "\x02\x00\x00\x00\x01\x00", 2412, &rx_time, 0, ctx->data, ctx->data_len); - p2p_scan_res_handled(ctx->p2p); + p2p_scan_res_handled(ctx->p2p, 0); p2p_probe_req_rx(ctx->p2p, (u8 *) "\x02\x00\x00\x00\x01\x00", (u8 *) "\x02\x00\x00\x00\x00\x00",