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/action_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/src/action_tests.c') diff --git a/test/src/action_tests.c b/test/src/action_tests.c index 997095d..c8377b5 100644 --- a/test/src/action_tests.c +++ b/test/src/action_tests.c @@ -12,7 +12,7 @@ const unsigned char bcast[] = BCAST_MAC; int test_action_gen_full() { struct libwifi_action action = {0}; - int ret = libwifi_create_action(&action, bcast, to, ACTION_HT); + int ret = libwifi_create_action(&action, bcast, to, to, ACTION_HT); if (ret != 0) { fprintf(stderr, "Failed to create action: %s\n", strerror(ret)); return ret; @@ -42,7 +42,7 @@ int test_action_gen_full() { int test_action_add_detail() { struct libwifi_action action = {0}; - int ret = libwifi_create_action(&action, bcast, to, ACTION_HT); + int ret = libwifi_create_action(&action, bcast, to, to, ACTION_HT); if (ret != 0) { fprintf(stderr, "Failed to create action: %s\n", strerror(ret)); return ret; -- cgit 1.4.1