release packet buffer after last acl fragment for synchronous HCI transport implementation

This commit is contained in:
matthias.ringwald@gmail.com 2014-11-10 12:53:34 +00:00
parent f6df6bbd34
commit 203bace68e

View File

@ -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();
}