diff --git a/monitor/bt.h b/monitor/bt.h
index 7f37bdd..58ca255 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
uint16_t handle;
uint8_t ltk[16];
} __attribute__ ((packed));
-struct bt_hci_cmd_le_ltk_req_reply_rsp {
+struct bt_hci_rsp_le_ltk_req_reply {
uint8_t status;
uint16_t handle;
} __attribute__ ((packed));
struct bt_hci_cmd_le_ltk_req_neg_reply {
uint16_t handle;
} __attribute__ ((packed));
-struct bt_hci_cmd_le_ltk_req_neg_reply_rsp {
+struct bt_hci_rsp_le_ltk_req_neg_reply {
uint8_t status;
uint16_t handle;
} __attribute__ ((packed));
diff --git a/monitor/packet.c b/monitor/packet.c
index 25c32eb..00643fa 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
static void le_ltk_req_reply_rsp(const void *data, uint8_t size)
{
- const struct bt_hci_cmd_le_ltk_req_reply_rsp *rsp = data;
+ const struct bt_hci_rsp_le_ltk_req_reply *rsp = data;
print_status(rsp->status);
print_handle(rsp->handle);
static void le_ltk_req_neg_reply_rsp(const void *data, uint8_t size)
{
- const struct bt_hci_cmd_le_ltk_req_neg_reply_rsp *rsp = data;
+ const struct bt_hci_rsp_le_ltk_req_neg_reply *rsp = data;
print_status(rsp->status);
print_handle(rsp->handle);