From fcb78cc1abe8f25b45cc2092a2a6a7bd0130a947 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 25 Mar 2016 22:03:30 +0100 Subject: [PATCH] posix-h4: start sending immediately --- platform/posix/hci_transport_h4_posix.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/posix/hci_transport_h4_posix.c b/platform/posix/hci_transport_h4_posix.c index 18bf3c359..71e73908e 100644 --- a/platform/posix/hci_transport_h4_posix.c +++ b/platform/posix/hci_transport_h4_posix.c @@ -400,8 +400,7 @@ static int h4_send_packet(uint8_t packet_type, uint8_t * packet, int size){ write_bytes_len = size; // start sending - // h4_process_write(hci_transport_h4->ds); - btstack_run_loop_enable_data_source_callbacks(hci_transport_h4->ds, DATA_SOURCE_CALLBACK_WRITE); + h4_process_write(hci_transport_h4->ds); return 0; }