Bluetooth: BR/EDR: Always enable security context fields
Always enable in connection object context fields related to security requirements and encryption. So far they were enabled only when Kconfig BLUETOOTH_SMP option is on. Change-Id: Ib7da9ba1df97df5c08b00769c8ba078dfa63ff56 Signed-off-by: Arkadiusz Lichwa <arkadiusz.lichwa@tieto.com>
This commit is contained in:
parent
e6bc2ebc98
commit
d9d26c2d1a
1 changed files with 2 additions and 2 deletions
|
@ -62,11 +62,11 @@ struct bt_conn {
|
||||||
|
|
||||||
uint8_t pending_pkts;
|
uint8_t pending_pkts;
|
||||||
|
|
||||||
#if defined(CONFIG_BLUETOOTH_SMP)
|
#if defined(CONFIG_BLUETOOTH_SMP) || defined(CONFIG_BLUETOOTH_BREDR)
|
||||||
uint8_t encrypt;
|
uint8_t encrypt;
|
||||||
bt_security_t sec_level;
|
bt_security_t sec_level;
|
||||||
bt_security_t required_sec_level;
|
bt_security_t required_sec_level;
|
||||||
#endif /* CONFIG_BLUETOOTH_SMP */
|
#endif /* CONFIG_BLUETOOTH_SMP || CONFIG_BLUETOOTH_BREDR */
|
||||||
|
|
||||||
uint16_t rx_len;
|
uint16_t rx_len;
|
||||||
struct net_buf *rx;
|
struct net_buf *rx;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue