Bluetooth: controller: llcp: fix for failing LL qualification tests
Fixes issue re. sending packets after sending TERMINATE_IND. Fixes issue re. erroneous error code on 'timed out' termination (ie when peer does not ack terminate_ind) Signed-off-by: Erik Brockhoff <erbr@oticon.com>
This commit is contained in:
parent
7daba33f2d
commit
25e6279493
2 changed files with 4 additions and 1 deletions
|
@ -1464,9 +1464,11 @@ void ull_conn_done(struct node_rx_event_done *done)
|
|||
(((conn->llcp_terminate.req -
|
||||
conn->llcp_terminate.ack) & 0xFF) ==
|
||||
TERM_ACKED) ||
|
||||
#endif /* CONFIG_BT_LL_SW_LLCP_LEGACY */
|
||||
conn->central.terminate_ack ||
|
||||
(reason_final == BT_HCI_ERR_TERM_DUE_TO_MIC_FAIL)
|
||||
#else /* CONFIG_BT_LL_SW_LLCP_LEGACY */
|
||||
1
|
||||
#endif /* CONFIG_BT_LL_SW_LLCP_LEGACY */
|
||||
#else /* CONFIG_BT_CENTRAL */
|
||||
1
|
||||
#endif /* CONFIG_BT_CENTRAL */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue