mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-11 21:44:49 +00:00
fix warnings for unknown con handles in l2cap le run loop
This commit is contained in:
parent
da1f23a0c5
commit
5d14fa8f64
@ -709,6 +709,7 @@ void l2cap_run(void){
|
||||
hci_connections_get_iterator(&it);
|
||||
while(linked_list_iterator_has_next(&it)){
|
||||
hci_connection_t * connection = (hci_connection_t *) linked_list_iterator_next(&it);
|
||||
if (connection->address_type != BD_ADDR_TYPE_LE_PUBLIC && connection->address_type != BD_ADDR_TYPE_LE_RANDOM) continue;
|
||||
if (!hci_can_send_acl_packet_now(connection->con_handle)) continue;
|
||||
switch (connection->le_con_parameter_update_state){
|
||||
case CON_PARAMETER_UPDATE_SEND_REQUEST:
|
||||
|
Loading…
Reference in New Issue
Block a user