Bluetooth: GATT: Reorder bt_gatt_ccc_cfg to eliminate padding

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2017-07-04 16:42:28 +03:00 committed by Johan Hedberg
commit dd542e14f6

View file

@ -487,12 +487,12 @@ ssize_t bt_gatt_attr_read_chrc(struct bt_conn *conn,
/** @brief GATT CCC configuration entry. */ /** @brief GATT CCC configuration entry. */
struct bt_gatt_ccc_cfg { struct bt_gatt_ccc_cfg {
/** Config valid flag. */
u8_t valid;
/** Config peer address. */ /** Config peer address. */
bt_addr_le_t peer; bt_addr_le_t peer;
/** Config peer value. */ /** Config peer value. */
u16_t value; u16_t value;
/** Config valid flag. */
u8_t valid;
}; };
/* Internal representation of CCC value */ /* Internal representation of CCC value */