Skip to content

Commit 934279a

Browse files
thoh-otcarlescufi
authored andcommitted
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 <[email protected]>
1 parent 6ac7bda commit 934279a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/controller/ll_sw/ull_conn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ void ull_conn_done(struct node_rx_event_done *done)
13871387
#if defined(CONFIG_BT_LL_SW_LLCP_LEGACY)
13881388
if (lll->enc_rx || conn->llcp_enc.pause_rx) {
13891389
#else /* CONFIG_BT_LL_SW_LLCP_LEGACY */
1390-
if (lll->enc_rx || ull_cp_encryption_paused(conn)) {
1390+
if (lll->enc_rx && lll->enc_tx) {
13911391
#endif /* CONFIG_BT_LL_SW_LLCP_LEGACY */
13921392
uint16_t appto_reload_new;
13931393

0 commit comments

Comments
 (0)