diff --git a/src/l2cap.c b/src/l2cap.c index 420a067a2..faff5f0c6 100644 --- a/src/l2cap.c +++ b/src/l2cap.c @@ -931,6 +931,7 @@ static void l2cap_event_handler(uint8_t *packet, uint16_t size){ // HCI Connection Timeouts case L2CAP_EVENT_TIMEOUT_CHECK: handle = READ_BT_16(packet, 2); + if (gap_get_connection_type(handle) != GAP_CONNECTION_ACL) break; if (hci_authentication_active_for_handle(handle)) break; hci_con_used = 0; linked_list_iterator_init(&it, &l2cap_channels);