diff options
author | Marc <foxtrot@malloc.me> | 2022-01-09 15:21:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-09 15:21:47 +0000 |
commit | 0bd924735125b34b74c893936b89cfae02e3379d (patch) | |
tree | c8140bf65c24791874fa9b0e194773178a34da83 /src/libwifi/gen/management/assoc_response.h | |
parent | 8e09d29df19312583747a3de00fe4269c17e6586 (diff) | |
parent | 11c7393bebe4df6e2061f69787f4a7dd5c31f077 (diff) | |
download | libwifi-0bd924735125b34b74c893936b89cfae02e3379d.tar.gz libwifi-0bd924735125b34b74c893936b89cfae02e3379d.tar.bz2 libwifi-0bd924735125b34b74c893936b89cfae02e3379d.zip |
Merge pull request #3 from libwifi/test
test: Add ctests for parse and generate functions.
Diffstat (limited to 'src/libwifi/gen/management/assoc_response.h')
-rw-r--r-- | src/libwifi/gen/management/assoc_response.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libwifi/gen/management/assoc_response.h b/src/libwifi/gen/management/assoc_response.h index 9162d1c..07ad4b4 100644 --- a/src/libwifi/gen/management/assoc_response.h +++ b/src/libwifi/gen/management/assoc_response.h | |||
@@ -24,7 +24,7 @@ | |||
24 | * @param assoc_resp A libwifi_assoc_resp | 24 | * @param assoc_resp A libwifi_assoc_resp |
25 | * @param channel The new channel | 25 | * @param channel The new channel |
26 | */ | 26 | */ |
27 | void libwifi_set_assoc_resp_channel(struct libwifi_assoc_resp *assoc_resp, uint8_t channel); | 27 | int libwifi_set_assoc_resp_channel(struct libwifi_assoc_resp *assoc_resp, uint8_t channel); |
28 | 28 | ||
29 | /** | 29 | /** |
30 | * Calculate the length of a given libwifi_assoc_resp | 30 | * Calculate the length of a given libwifi_assoc_resp |
@@ -46,7 +46,7 @@ size_t libwifi_get_assoc_resp_length(struct libwifi_assoc_resp *assoc_resp); | |||
46 | * @param channel The desired channel of the assoc_resp | 46 | * @param channel The desired channel of the assoc_resp |
47 | * | 47 | * |
48 | */ | 48 | */ |
49 | void libwifi_create_assoc_resp(struct libwifi_assoc_resp *assoc_resp, const unsigned char receiver[6], | 49 | int libwifi_create_assoc_resp(struct libwifi_assoc_resp *assoc_resp, const unsigned char receiver[6], |
50 | const unsigned char transmitter[6], uint8_t channel); | 50 | const unsigned char transmitter[6], uint8_t channel); |
51 | 51 | ||
52 | /** | 52 | /** |