3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-24 06:52:37 +01:00

ie: Tweak function signature

This commit is contained in:
Denis Kenzior 2015-09-10 22:29:58 -05:00
parent 9d79ce45e4
commit c2aa596dd4
2 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ static void *ie_tlv_vendor_ie_concat(const unsigned char oui[],
* Elements (the order of these elements in the original packet shall be * Elements (the order of these elements in the original packet shall be
* preserved when concatenating Data components)." * preserved when concatenating Data components)."
*/ */
void *ie_tlv_extract_wsc_payload(const unsigned char *ies, unsigned int len, void *ie_tlv_extract_wsc_payload(const unsigned char *ies, size_t len,
ssize_t *out_len) ssize_t *out_len)
{ {
static unsigned char oui[3] = { 0x00, 0x50, 0xf2 }; static unsigned char oui[3] = { 0x00, 0x50, 0xf2 };

View File

@ -251,7 +251,7 @@ static inline const unsigned char *ie_tlv_iter_get_data(
return iter->data; return iter->data;
} }
void *ie_tlv_extract_wsc_payload(const unsigned char *ies, unsigned int len, void *ie_tlv_extract_wsc_payload(const uint8_t *ies, size_t len,
ssize_t *out_len); ssize_t *out_len);
bool ie_tlv_builder_init(struct ie_tlv_builder *builder); bool ie_tlv_builder_init(struct ie_tlv_builder *builder);