about summary refs log tree commit diff stats
path: root/test/src/assoc_req_tests.c
diff options
context:
space:
mode:
authorMarc <foxtrot@malloc.me>2022-01-28 23:28:38 +0000
committerMarc <foxtrot@malloc.me>2022-01-28 23:28:45 +0000
commite5832d90a9a0dad45350956cb6f8802ffd6afb16 (patch)
tree4f74de2cdce9395464164432e52a00c612fc1fa2 /test/src/assoc_req_tests.c
parent4c1232aaccdafcd213b615f7e8f36e5b5604fb59 (diff)
downloadlibwifi-e5832d90a9a0dad45350956cb6f8802ffd6afb16.tar.gz
libwifi-e5832d90a9a0dad45350956cb6f8802ffd6afb16.tar.bz2
libwifi-e5832d90a9a0dad45350956cb6f8802ffd6afb16.zip
test: Fixup tests for new gen function prototypes
Diffstat (limited to 'test/src/assoc_req_tests.c')
-rw-r--r--test/src/assoc_req_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/assoc_req_tests.c b/test/src/assoc_req_tests.c index fc6379f..32d199e 100644 --- a/test/src/assoc_req_tests.c +++ b/test/src/assoc_req_tests.c
@@ -12,7 +12,7 @@ const unsigned char bcast[] = BCAST_MAC;
12int test_assoc_req_gen_full() { 12int test_assoc_req_gen_full() {
13 struct libwifi_assoc_req assoc_req = {0}; 13 struct libwifi_assoc_req assoc_req = {0};
14 14
15 int ret = libwifi_create_assoc_req(&assoc_req, bcast, to, "Some SSID", 11); 15 int ret = libwifi_create_assoc_req(&assoc_req, bcast, to, to, "Some SSID", 11);
16 if (ret != 0) { 16 if (ret != 0) {
17 fprintf(stderr, "Failed to create assoc_req: %s\n", strerror(ret)); 17 fprintf(stderr, "Failed to create assoc_req: %s\n", strerror(ret));
18 return ret; 18 return ret;
@@ -42,7 +42,7 @@ int test_assoc_req_gen_full() {
42int test_assoc_req_add_tag() { 42int test_assoc_req_add_tag() {
43 struct libwifi_assoc_req assoc_req = {0}; 43 struct libwifi_assoc_req assoc_req = {0};
44 44
45 int ret = libwifi_create_assoc_req(&assoc_req, bcast, to, "Some SSID", 11); 45 int ret = libwifi_create_assoc_req(&assoc_req, bcast, to, to, "Some SSID", 11);
46 if (ret != 0) { 46 if (ret != 0) {
47 fprintf(stderr, "Failed to create assoc_req: %s\n", strerror(ret)); 47 fprintf(stderr, "Failed to create assoc_req: %s\n", strerror(ret));
48 return ret; 48 return ret;