nimble/transport: Fix compilation warning in socket transpor

ble_hci_socket.c:359:5: warning: implicit declaration of function ‘ble_hci_trans_buf_free’
change ble_hci_trans_buf_free to ble_transport_free

Signed-off-by: Xiang Xiao <[email protected]>
This commit is contained in:
Xiang Xiao
2023-02-08 16:12:16 +01:00
committed by Szymon Janc
parent 674eeafa0b
commit 65e774e104
+1 -1
View File
@@ -356,7 +356,7 @@ ble_hci_sock_cmdevt_tx(uint8_t *hci_ev, uint8_t h4_type)
(struct sockaddr *)&addr, sizeof(struct sockaddr_hci));
free(buf);
ble_hci_trans_buf_free(hci_ev);
ble_transport_free(hci_ev);
if (i != len + 1) {
if (i < 0) {
dprintf(1, "sendto() failed : %d\n", errno);