From e5832d90a9a0dad45350956cb6f8802ffd6afb16 Mon Sep 17 00:00:00 2001 From: Marc Date: Fri, 28 Jan 2022 23:28:38 +0000 Subject: test: Fixup tests for new gen function prototypes --- test/src/assoc_resp_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/src/assoc_resp_tests.c') diff --git a/test/src/assoc_resp_tests.c b/test/src/assoc_resp_tests.c index 3a261ed..717a3cd 100644 --- a/test/src/assoc_resp_tests.c +++ b/test/src/assoc_resp_tests.c @@ -12,7 +12,7 @@ const unsigned char bcast[] = BCAST_MAC; int test_assoc_resp_gen_full() { struct libwifi_assoc_resp assoc_resp = {0}; - int ret = libwifi_create_assoc_resp(&assoc_resp, bcast, to, 11); + int ret = libwifi_create_assoc_resp(&assoc_resp, bcast, to, to, 11); if (ret != 0) { fprintf(stderr, "Failed to create assoc_resp: %s\n", strerror(ret)); return ret; @@ -42,7 +42,7 @@ int test_assoc_resp_gen_full() { int test_assoc_resp_add_tag() { struct libwifi_assoc_resp assoc_resp = {0}; - int ret = libwifi_create_assoc_resp(&assoc_resp, bcast, to, 11); + int ret = libwifi_create_assoc_resp(&assoc_resp, bcast, to, to, 11); if (ret != 0) { fprintf(stderr, "Failed to create assoc_resp: %s\n", strerror(ret)); return ret; -- cgit 1.4.1