Bluetooth: Reorganize bt_conn to avoid padding

Change-Id: I9163bc532a664c7ba82ce11194e471de162078ea
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2016-01-07 17:03:03 +02:00 committed by Anas Nashif
commit 3f1e253c79

View file

@ -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;