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