about summary refs log tree commit diff stats
path: root/test/src/assoc_resp_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/assoc_resp_tests.c')
-rw-r--r--test/src/assoc_resp_tests.c4
1 files changed, 2 insertions, 2 deletions
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;
12int test_assoc_resp_gen_full() { 12int test_assoc_resp_gen_full() {
13 struct libwifi_assoc_resp assoc_resp = {0}; 13 struct libwifi_assoc_resp assoc_resp = {0};
14 14
15 int ret = libwifi_create_assoc_resp(&assoc_resp, bcast, to, 11); 15 int ret = libwifi_create_assoc_resp(&assoc_resp, bcast, to, to, 11);
16 if (ret != 0) { 16 if (ret != 0) {
17 fprintf(stderr, "Failed to create assoc_resp: %s\n", strerror(ret)); 17 fprintf(stderr, "Failed to create assoc_resp: %s\n", strerror(ret));
18 return ret; 18 return ret;
@@ -42,7 +42,7 @@ int test_assoc_resp_gen_full() {
42int test_assoc_resp_add_tag() { 42int test_assoc_resp_add_tag() {
43 struct libwifi_assoc_resp assoc_resp = {0}; 43 struct libwifi_assoc_resp assoc_resp = {0};
44 44
45 int ret = libwifi_create_assoc_resp(&assoc_resp, bcast, to, 11); 45 int ret = libwifi_create_assoc_resp(&assoc_resp, bcast, to, to, 11);
46 if (ret != 0) { 46 if (ret != 0) {
47 fprintf(stderr, "Failed to create assoc_resp: %s\n", strerror(ret)); 47 fprintf(stderr, "Failed to create assoc_resp: %s\n", strerror(ret));
48 return ret; 48 return ret;