Bluetooth: controller: Fix enc APPTO
The logic condition for when to enable APPTO needs to look at both enc_rx and enc_tx. Signed-off-by: Thomas Ebert Hansen <thoh@oticon.com>
This commit is contained in:
parent
6ac7bda97d
commit
934279a48f
1 changed files with 1 additions and 1 deletions
|
@ -1387,7 +1387,7 @@ void ull_conn_done(struct node_rx_event_done *done)
|
|||
#if defined(CONFIG_BT_LL_SW_LLCP_LEGACY)
|
||||
if (lll->enc_rx || conn->llcp_enc.pause_rx) {
|
||||
#else /* CONFIG_BT_LL_SW_LLCP_LEGACY */
|
||||
if (lll->enc_rx || ull_cp_encryption_paused(conn)) {
|
||||
if (lll->enc_rx && lll->enc_tx) {
|
||||
#endif /* CONFIG_BT_LL_SW_LLCP_LEGACY */
|
||||
uint16_t appto_reload_new;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue