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/auth_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/src/auth_tests.c') diff --git a/test/src/auth_tests.c b/test/src/auth_tests.c index f78aeed..41dcefe 100644 --- a/test/src/auth_tests.c +++ b/test/src/auth_tests.c @@ -12,7 +12,7 @@ const unsigned char bcast[] = BCAST_MAC; int test_auth_gen_full() { struct libwifi_auth auth = {0}; - int ret = libwifi_create_auth(&auth, bcast, to, 0, 100, STATUS_SUCCESS); + int ret = libwifi_create_auth(&auth, bcast, to, to, 0, 100, STATUS_SUCCESS); if (ret != 0) { fprintf(stderr, "Failed to create auth: %s\n", strerror(ret)); return ret; @@ -42,7 +42,7 @@ int test_auth_gen_full() { int test_auth_add_tag() { struct libwifi_auth auth = {0}; - int ret = libwifi_create_auth(&auth, bcast, to, 0, 100, STATUS_SUCCESS); + int ret = libwifi_create_auth(&auth, bcast, to, to, 0, 100, STATUS_SUCCESS); if (ret != 0) { fprintf(stderr, "Failed to create auth: %s\n", strerror(ret)); return ret; -- cgit 1.4.1