diff options
author | Marc <foxtrot@malloc.me> | 2022-01-29 00:17:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-29 00:17:41 +0000 |
commit | 62ea5defe6e5e71c5c90c0f3d3d5e8d5dd9c57f6 (patch) | |
tree | 626939c4b36126e285e1841912f2c2feb41f055b /test/src/assoc_req_tests.c | |
parent | a9a46f40228429e128390d4d4979788e2778e8d0 (diff) | |
parent | d26739cec88e2d798f07eafce0396fcd87c4ba1c (diff) | |
download | libwifi-62ea5defe6e5e71c5c90c0f3d3d5e8d5dd9c57f6.tar.gz libwifi-62ea5defe6e5e71c5c90c0f3d3d5e8d5dd9c57f6.tar.bz2 libwifi-62ea5defe6e5e71c5c90c0f3d3d5e8d5dd9c57f6.zip |
Merge pull request #5 from libwifi/fixup
Improve header comments, add ability to always specify Management frame Address 3 field
Diffstat (limited to 'test/src/assoc_req_tests.c')
-rw-r--r-- | test/src/assoc_req_tests.c | 4 |
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; | |||
12 | int test_assoc_req_gen_full() { | 12 | int 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() { | |||
42 | int test_assoc_req_add_tag() { | 42 | int 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; |