nimble/ll: Fix build with BLE_LL_HCI_LLCP_TRACE enabled

This was not updated after HCI VS event sending cleanup.
This commit is contained in:
Szymon Janc
2023-08-07 10:13:00 +02:00
parent ebae7a2252
commit 74517c7e76
2 changed files with 5 additions and 3 deletions
+3 -3
View File
@@ -643,16 +643,16 @@ void
ble_ll_hci_ev_send_vs_llcp_trace(uint8_t type, uint16_t handle, uint16_t count,
void *pdu, size_t length)
{
struct ble_hci_ev_vs_debug *ev;
struct ble_hci_ev_vs *ev;
struct ble_hci_ev *hci_ev;
hci_ev = ble_transport_alloc_evt(1);
if (hci_ev) {
hci_ev->opcode = BLE_HCI_EVCODE_VS_DEBUG;
hci_ev->opcode = BLE_HCI_EVCODE_VS;
hci_ev->length = sizeof(*ev) + 8 + length;
ev = (void *) hci_ev->data;
ev->id = 0x17;
ev->id = BLE_HCI_VS_SUBEV_ID_LLCP_TRACE;
ev->data[0] = type;
put_le16(&ev->data[1], handle);
put_le16(&ev->data[3], count);
+2
View File
@@ -1611,6 +1611,8 @@ struct ble_hci_ev_vs_css_slot_changed {
uint16_t slot_idx;
};
#define BLE_HCI_VS_SUBEV_ID_LLCP_TRACE (0x17)
/* LE sub-event codes */
#define BLE_HCI_LE_SUBEV_CONN_COMPLETE (0x01)
struct ble_hci_ev_le_subev_conn_complete {