mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 13:20:39 +00:00
don't forward HCI_EVENT_NUMBER_OF_COMPLETED_PACKETS to clients - no need for that
This commit is contained in:
parent
5a8f8adde5
commit
d71f9734b9
@ -308,7 +308,6 @@ static int btstack_command_handler(connection_t *connection, uint8_t *packet, ui
|
||||
sdp_unregister_service_internal(connection, service_record_handle);
|
||||
break;
|
||||
default:
|
||||
//@TODO: log into hci dump as vendor specific "event"
|
||||
log_error("Error: command %u not implemented\n:", READ_CMD_OCF(packet));
|
||||
break;
|
||||
}
|
||||
@ -475,7 +474,8 @@ static void daemon_packet_handler(void * connection, uint8_t packet_type, uint16
|
||||
case HCI_EVENT_NUMBER_OF_COMPLETED_PACKETS:
|
||||
// ACL buffer freed...
|
||||
daemon_retry_parked();
|
||||
break;
|
||||
// no need to tell clients
|
||||
return;
|
||||
case RFCOMM_EVENT_CREDITS:
|
||||
// RFCOMM CREDITS received...
|
||||
daemon_retry_parked();
|
||||
|
Loading…
x
Reference in New Issue
Block a user