about summary refs log tree commit diff stats
path: root/test/src/probe_resp_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/probe_resp_tests.c')
-rw-r--r--test/src/probe_resp_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/probe_resp_tests.c b/test/src/probe_resp_tests.c index 463a90a..4f4f650 100644 --- a/test/src/probe_resp_tests.c +++ b/test/src/probe_resp_tests.c
@@ -12,7 +12,7 @@ const unsigned char bcast[] = BCAST_MAC;
12int test_probe_resp_gen_full() { 12int test_probe_resp_gen_full() {
13 struct libwifi_probe_resp probe_resp = {0}; 13 struct libwifi_probe_resp probe_resp = {0};
14 14
15 int ret = libwifi_create_probe_resp(&probe_resp, bcast, to, "Some SSID", 11); 15 int ret = libwifi_create_probe_resp(&probe_resp, bcast, to, to, "Some SSID", 11);
16 if (ret != 0) { 16 if (ret != 0) {
17 fprintf(stderr, "Failed to create probe_resp: %s\n", strerror(ret)); 17 fprintf(stderr, "Failed to create probe_resp: %s\n", strerror(ret));
18 return ret; 18 return ret;
@@ -42,7 +42,7 @@ int test_probe_resp_gen_full() {
42int test_probe_resp_add_tag() { 42int test_probe_resp_add_tag() {
43 struct libwifi_probe_resp probe_resp = {0}; 43 struct libwifi_probe_resp probe_resp = {0};
44 44
45 int ret = libwifi_create_probe_resp(&probe_resp, bcast, to, "Some SSID", 11); 45 int ret = libwifi_create_probe_resp(&probe_resp, bcast, to, to, "Some SSID", 11);
46 if (ret != 0) { 46 if (ret != 0) {
47 fprintf(stderr, "Failed to create probe_resp: %s\n", strerror(ret)); 47 fprintf(stderr, "Failed to create probe_resp: %s\n", strerror(ret));
48 return ret; 48 return ret;