3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-29 22:19:23 +01:00

wscutil: Rename parse/build_nack

... to parse/build_wsc_nack to be more consistent with the spec naming
This commit is contained in:
Denis Kenzior 2016-09-08 21:34:32 -05:00
parent 983d598d1d
commit 1dc197d176
2 changed files with 4 additions and 4 deletions

View File

@ -1504,7 +1504,7 @@ int wsc_parse_wsc_ack(const uint8_t *pdu, uint32_t len, struct wsc_ack *out)
return 0; return 0;
} }
int wsc_parse_nack(const uint8_t *pdu, uint32_t len, struct wsc_nack *out) int wsc_parse_wsc_nack(const uint8_t *pdu, uint32_t len, struct wsc_nack *out)
{ {
int r; int r;
struct wsc_wfa_ext_iter iter; struct wsc_wfa_ext_iter iter;
@ -2325,7 +2325,7 @@ done:
return ret; return ret;
} }
uint8_t *wsc_build_nack(const struct wsc_nack *nack, size_t *out_len) uint8_t *wsc_build_wsc_nack(const struct wsc_nack *nack, size_t *out_len)
{ {
struct wsc_attr_builder *builder; struct wsc_attr_builder *builder;
uint8_t *ret; uint8_t *ret;

View File

@ -570,7 +570,7 @@ int wsc_parse_m8_encrypted_settings(const uint8_t *pdu, uint32_t len,
struct iovec *iov, size_t *iovcnt); struct iovec *iov, size_t *iovcnt);
int wsc_parse_wsc_ack(const uint8_t *pdu, uint32_t len, struct wsc_ack *out); int wsc_parse_wsc_ack(const uint8_t *pdu, uint32_t len, struct wsc_ack *out);
int wsc_parse_nack(const uint8_t *pdu, uint32_t len, struct wsc_nack *out); int wsc_parse_wsc_nack(const uint8_t *pdu, uint32_t len, struct wsc_nack *out);
int wsc_parse_wsc_done(const uint8_t *pdu, uint32_t len, struct wsc_done *out); int wsc_parse_wsc_done(const uint8_t *pdu, uint32_t len, struct wsc_done *out);
@ -603,7 +603,7 @@ uint8_t *wsc_build_m8(const struct wsc_m8 *m8, const uint8_t *encrypted,
size_t encrypted_len, size_t *out_len); size_t encrypted_len, size_t *out_len);
uint8_t *wsc_build_wsc_ack(const struct wsc_ack *ack, size_t *out_len); uint8_t *wsc_build_wsc_ack(const struct wsc_ack *ack, size_t *out_len);
uint8_t *wsc_build_nack(const struct wsc_nack *nack, size_t *out_len); uint8_t *wsc_build_wsc_nack(const struct wsc_nack *nack, size_t *out_len);
uint8_t *wsc_build_wsc_done(const struct wsc_done *done, size_t *out_len); uint8_t *wsc_build_wsc_done(const struct wsc_done *done, size_t *out_len);