Bluetooth: Reduce bt_keys size
Makes bt_keys struct more compact saving 4 bytes. Change-Id: I30976068d546e02f59ae702b477cf8e5086ccec8 Signed-off-by: Arkadiusz Lichwa <arkadiusz.lichwa@tieto.com>
This commit is contained in:
parent
524ef5ee1d
commit
e6bc2ebc98
1 changed files with 2 additions and 2 deletions
|
@ -52,9 +52,9 @@ struct bt_csrk {
|
||||||
|
|
||||||
struct bt_keys {
|
struct bt_keys {
|
||||||
bt_addr_le_t addr;
|
bt_addr_le_t addr;
|
||||||
int keys;
|
|
||||||
atomic_t flags;
|
|
||||||
uint8_t enc_size;
|
uint8_t enc_size;
|
||||||
|
atomic_t flags;
|
||||||
|
uint16_t keys;
|
||||||
|
|
||||||
#if !defined(CONFIG_BLUETOOTH_SMP_SC_ONLY)
|
#if !defined(CONFIG_BLUETOOTH_SMP_SC_ONLY)
|
||||||
struct bt_ltk slave_ltk;
|
struct bt_ltk slave_ltk;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue