return error from hci transport in hci

This commit is contained in:
matthias.ringwald 2011-08-21 11:10:11 +00:00
parent f8adb6a795
commit 00d8e42e55

View File

@ -243,10 +243,10 @@ int hci_send_acl_packet(uint8_t *packet, int size){
connection->num_acl_packets_sent++; connection->num_acl_packets_sent++;
// log_info("hci_send_acl_packet - handle %u, sent %u\n", connection->con_handle, connection->num_acl_packets_sent); // log_info("hci_send_acl_packet - handle %u, sent %u\n", connection->con_handle, connection->num_acl_packets_sent);
// send packet - ignore errors // send packet
hci_stack.hci_transport->send_packet(HCI_ACL_DATA_PACKET, packet, size); int err = hci_stack.hci_transport->send_packet(HCI_ACL_DATA_PACKET, packet, size);
return 0; return err;
} }
static void acl_handler(uint8_t *packet, int size){ static void acl_handler(uint8_t *packet, int size){