Bluetooth: host: Replace alignment with tabs with spaces
Replace alignment with tabs with spaces. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
6d9e45a2ee
commit
17276d558e
1 changed files with 18 additions and 18 deletions
|
@ -33,40 +33,40 @@ enum {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct bt_ltk {
|
struct bt_ltk {
|
||||||
u8_t rand[8];
|
u8_t rand[8];
|
||||||
u8_t ediv[2];
|
u8_t ediv[2];
|
||||||
u8_t val[16];
|
u8_t val[16];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct bt_irk {
|
struct bt_irk {
|
||||||
u8_t val[16];
|
u8_t val[16];
|
||||||
bt_addr_t rpa;
|
bt_addr_t rpa;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct bt_csrk {
|
struct bt_csrk {
|
||||||
u8_t val[16];
|
u8_t val[16];
|
||||||
u32_t cnt;
|
u32_t cnt;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct bt_keys {
|
struct bt_keys {
|
||||||
u8_t id;
|
u8_t id;
|
||||||
bt_addr_le_t addr;
|
bt_addr_le_t addr;
|
||||||
u8_t state;
|
u8_t state;
|
||||||
u8_t storage_start[0] __aligned(sizeof(void *));
|
u8_t storage_start[0] __aligned(sizeof(void *));
|
||||||
u8_t enc_size;
|
u8_t enc_size;
|
||||||
u8_t flags;
|
u8_t flags;
|
||||||
u16_t keys;
|
u16_t keys;
|
||||||
struct bt_ltk ltk;
|
struct bt_ltk ltk;
|
||||||
struct bt_irk irk;
|
struct bt_irk irk;
|
||||||
#if defined(CONFIG_BT_SIGNING)
|
#if defined(CONFIG_BT_SIGNING)
|
||||||
struct bt_csrk local_csrk;
|
struct bt_csrk local_csrk;
|
||||||
struct bt_csrk remote_csrk;
|
struct bt_csrk remote_csrk;
|
||||||
#endif /* BT_SIGNING */
|
#endif /* BT_SIGNING */
|
||||||
#if !defined(CONFIG_BT_SMP_SC_PAIR_ONLY)
|
#if !defined(CONFIG_BT_SMP_SC_PAIR_ONLY)
|
||||||
struct bt_ltk slave_ltk;
|
struct bt_ltk slave_ltk;
|
||||||
#endif /* CONFIG_BT_SMP_SC_PAIR_ONLY */
|
#endif /* CONFIG_BT_SMP_SC_PAIR_ONLY */
|
||||||
#if (defined(CONFIG_BT_KEYS_OVERWRITE_OLDEST))
|
#if (defined(CONFIG_BT_KEYS_OVERWRITE_OLDEST))
|
||||||
u32_t aging_counter;
|
u32_t aging_counter;
|
||||||
#endif /* CONFIG_BT_KEYS_OVERWRITE_OLDEST */
|
#endif /* CONFIG_BT_KEYS_OVERWRITE_OLDEST */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -101,9 +101,9 @@ enum {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct bt_keys_link_key {
|
struct bt_keys_link_key {
|
||||||
bt_addr_t addr;
|
bt_addr_t addr;
|
||||||
u8_t flags;
|
u8_t flags;
|
||||||
u8_t val[16];
|
u8_t val[16];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct bt_keys_link_key *bt_keys_get_link_key(const bt_addr_t *addr);
|
struct bt_keys_link_key *bt_keys_get_link_key(const bt_addr_t *addr);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue