mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
avoid starving by sending DAEMON_EVENT_HCI_PACKET_SENT up the stack
This commit is contained in:
parent
c27624e0be
commit
3aa94ed346
@ -267,6 +267,10 @@ static void handle_completed_transfer(struct libusb_transfer *transfer){
|
||||
// log_info("acl out done, size %u", transfer->actual_length);
|
||||
usb_acl_out_active = 0;
|
||||
|
||||
// notify upper stack that iit might be possible to send again
|
||||
uint8_t event = DAEMON_EVENT_HCI_PACKET_SENT;
|
||||
packet_handler(HCI_EVENT_PACKET, &event, 1);
|
||||
|
||||
resubmit = 0;
|
||||
} else if (transfer->endpoint == 0){
|
||||
// log_info("command done, size %u", transfer->actual_length);
|
||||
|
Loading…
x
Reference in New Issue
Block a user