Bluetooth: Reorganize bt_conn to avoid padding
Change-Id: I9163bc532a664c7ba82ce11194e471de162078ea Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
d9d26c2d1a
commit
3f1e253c79
1 changed files with 3 additions and 3 deletions
|
@ -60,14 +60,14 @@ struct bt_conn {
|
|||
uint8_t role;
|
||||
atomic_t flags[1];
|
||||
|
||||
uint8_t pending_pkts;
|
||||
|
||||
#if defined(CONFIG_BLUETOOTH_SMP) || defined(CONFIG_BLUETOOTH_BREDR)
|
||||
uint8_t encrypt;
|
||||
bt_security_t sec_level;
|
||||
bt_security_t required_sec_level;
|
||||
uint8_t encrypt;
|
||||
#endif /* CONFIG_BLUETOOTH_SMP || CONFIG_BLUETOOTH_BREDR */
|
||||
|
||||
uint8_t pending_pkts;
|
||||
|
||||
uint16_t rx_len;
|
||||
struct net_buf *rx;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue