Diff between e2cb57ecf7fa22aeadf4119453ae886285ca8bf9 and 2e137ec0320702d49d1780954aef6d6090b14100

Changed Files

File Additions Deletions Status
monitor/bt.h +2 -2 modified
monitor/packet.c +2 -2 modified

Full Patch

diff --git a/monitor/bt.h b/monitor/bt.h
index 7f37bdd..58ca255 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -990,7 +990,7 @@ struct bt_hci_cmd_le_ltk_req_reply {
 	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));
@@ -999,7 +999,7 @@ struct bt_hci_cmd_le_ltk_req_reply_rsp {
 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
@@ -3817,7 +3817,7 @@ static void le_ltk_req_reply(const void *data, uint8_t size)
 
 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);
@@ -3832,7 +3832,7 @@ static void le_ltk_req_neg_reply(const void *data, uint8_t size)
 
 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);