Bluetooth: controller: split: Force central cleanup on MIC error
Since a peer MIC failure closes the event, it does not allow a terminate acknowledge. For that reason a peer MIC fail for central role must force a conn_cleanup. Signed-off-by: Morten Priess <mtpr@oticon.com>
This commit is contained in:
parent
41cfe0b31a
commit
2945143edd
1 changed files with 2 additions and 1 deletions
|
@ -999,7 +999,8 @@ void ull_conn_done(struct node_rx_event_done *done)
|
||||||
0 ||
|
0 ||
|
||||||
#endif /* CONFIG_BT_PERIPHERAL */
|
#endif /* CONFIG_BT_PERIPHERAL */
|
||||||
#if defined(CONFIG_BT_CENTRAL)
|
#if defined(CONFIG_BT_CENTRAL)
|
||||||
conn->master.terminate_ack
|
conn->master.terminate_ack ||
|
||||||
|
(reason_peer == BT_HCI_ERR_TERM_DUE_TO_MIC_FAIL)
|
||||||
#else /* CONFIG_BT_CENTRAL */
|
#else /* CONFIG_BT_CENTRAL */
|
||||||
1
|
1
|
||||||
#endif /* CONFIG_BT_CENTRAL */
|
#endif /* CONFIG_BT_CENTRAL */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue