diff options
Diffstat (limited to 'test/src/beacon_tests.c')
-rw-r--r-- | test/src/beacon_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/beacon_tests.c b/test/src/beacon_tests.c index d152d5e..bc94cbd 100644 --- a/test/src/beacon_tests.c +++ b/test/src/beacon_tests.c | |||
@@ -24,7 +24,7 @@ const unsigned char beacon[] = "\x00\x00\x18\x00\x8e\x58\x00\x00\x10\x02\x6c\x09 | |||
24 | int test_beacon_gen_full() { | 24 | int test_beacon_gen_full() { |
25 | struct libwifi_beacon beacon = {0}; | 25 | struct libwifi_beacon beacon = {0}; |
26 | 26 | ||
27 | int ret = libwifi_create_beacon(&beacon, bcast, to, "Some SSID", 11); | 27 | int ret = libwifi_create_beacon(&beacon, bcast, to, to, "Some SSID", 11); |
28 | if (ret != 0) { | 28 | if (ret != 0) { |
29 | fprintf(stderr, "Failed to create beacon: %s\n", strerror(ret)); | 29 | fprintf(stderr, "Failed to create beacon: %s\n", strerror(ret)); |
30 | return ret; | 30 | return ret; |
@@ -54,7 +54,7 @@ int test_beacon_gen_full() { | |||
54 | int test_beacon_add_tag() { | 54 | int test_beacon_add_tag() { |
55 | struct libwifi_beacon beacon = {0}; | 55 | struct libwifi_beacon beacon = {0}; |
56 | 56 | ||
57 | int ret = libwifi_create_beacon(&beacon, bcast, to, "Some SSID", 11); | 57 | int ret = libwifi_create_beacon(&beacon, bcast, to, to, "Some SSID", 11); |
58 | if (ret != 0) { | 58 | if (ret != 0) { |
59 | fprintf(stderr, "Failed to create beacon: %s\n", strerror(ret)); | 59 | fprintf(stderr, "Failed to create beacon: %s\n", strerror(ret)); |
60 | return ret; | 60 | return ret; |