3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-20 12:39:25 +01:00

wscutil: Move builders to proper alphabetical order

This commit is contained in:
Denis Kenzior 2016-08-17 22:04:15 -05:00
parent ed6e5665d4
commit ea8fddb897

View File

@ -1230,20 +1230,6 @@ static void build_connection_type_flags(struct wsc_attr_builder *builder,
wsc_attr_builder_put_u8(builder, connection_type_flags);
}
static void build_encryption_type_flags(struct wsc_attr_builder *builder,
uint16_t encryption_type_flags)
{
wsc_attr_builder_start_attr(builder, WSC_ATTR_ENCRYPTION_TYPE_FLAGS);
wsc_attr_builder_put_u16(builder, encryption_type_flags);
}
static void build_enrollee_nonce(struct wsc_attr_builder *builder,
const uint8_t *nonce)
{
wsc_attr_builder_start_attr(builder, WSC_ATTR_ENROLLEE_NONCE);
wsc_attr_builder_put_bytes(builder, nonce, 16);
}
static void build_device_name(struct wsc_attr_builder *builder,
const char *device_name)
{
@ -1258,6 +1244,20 @@ static void build_device_password_id(struct wsc_attr_builder *builder,
wsc_attr_builder_put_u16(builder, id);
}
static void build_encryption_type_flags(struct wsc_attr_builder *builder,
uint16_t encryption_type_flags)
{
wsc_attr_builder_start_attr(builder, WSC_ATTR_ENCRYPTION_TYPE_FLAGS);
wsc_attr_builder_put_u16(builder, encryption_type_flags);
}
static void build_enrollee_nonce(struct wsc_attr_builder *builder,
const uint8_t *nonce)
{
wsc_attr_builder_start_attr(builder, WSC_ATTR_ENROLLEE_NONCE);
wsc_attr_builder_put_bytes(builder, nonce, 16);
}
static void build_mac_address(struct wsc_attr_builder *builder,
const uint8_t *addr)
{