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/timing_ad_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/timing_ad_tests.c')
-rw-r--r-- | test/src/timing_ad_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/timing_ad_tests.c b/test/src/timing_ad_tests.c index 59d20eb..2e2e5ba 100644 --- a/test/src/timing_ad_tests.c +++ b/test/src/timing_ad_tests.c | |||
@@ -19,7 +19,7 @@ int test_timing_ad_gen_full() { | |||
19 | memcpy(ad_fields.time_value, | 19 | memcpy(ad_fields.time_value, |
20 | "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA", 10); | 20 | "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA", 10); |
21 | 21 | ||
22 | int ret = libwifi_create_timing_advert(&time_ad, to, to, &ad_fields, "GB", -56, -56, -30, -20); | 22 | int ret = libwifi_create_timing_advert(&time_ad, bcast, to, to, &ad_fields, "GB", -56, -56, -30, -20); |
23 | if (ret != 0) { | 23 | if (ret != 0) { |
24 | fprintf(stderr, "Failed to create timing advert\n"); | 24 | fprintf(stderr, "Failed to create timing advert\n"); |
25 | return ret; | 25 | return ret; |