From 203bace68e5fba24aab9f4337f49f1adbe508549 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Mon, 10 Nov 2014 12:53:34 +0000 Subject: [PATCH] release packet buffer after last acl fragment for synchronous HCI transport implementation --- src/hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hci.c b/src/hci.c index 9d9316d8c..fa7636ea3 100644 --- a/src/hci.c +++ b/src/hci.c @@ -489,7 +489,7 @@ static int hci_send_acl_packet_fragments(hci_connection_t *connection){ hci_stack->acl_fragmentation_total_size = 0; // free buffer now for synchronous transport - if (!hci_transport_synchronous()){ + if (hci_transport_synchronous()){ hci_release_packet_buffer(); }