From a9a46f40228429e128390d4d4979788e2778e8d0 Mon Sep 17 00:00:00 2001 From: Marc Date: Sat, 15 Jan 2022 21:54:51 +0000 Subject: test: Fix beacon generation function call --- test/src/beacon_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/src/beacon_tests.c') 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 int test_beacon_gen_full() { struct libwifi_beacon beacon = {0}; - int ret = libwifi_create_beacon(&beacon, bcast, to, "Some SSID", 11); + int ret = libwifi_create_beacon(&beacon, bcast, to, to, "Some SSID", 11); if (ret != 0) { fprintf(stderr, "Failed to create beacon: %s\n", strerror(ret)); return ret; @@ -54,7 +54,7 @@ int test_beacon_gen_full() { int test_beacon_add_tag() { struct libwifi_beacon beacon = {0}; - int ret = libwifi_create_beacon(&beacon, bcast, to, "Some SSID", 11); + int ret = libwifi_create_beacon(&beacon, bcast, to, to, "Some SSID", 11); if (ret != 0) { fprintf(stderr, "Failed to create beacon: %s\n", strerror(ret)); return ret; -- cgit 1.4.1