Diff between a222b8440f0e3beb0cfa7277f1ec450ebe2927e5 and d0e729fd75ed2936c5718a8abb0e6f96e5c0bba5

Changed Files

File Additions Deletions Status
monitor/bt.h +8 -3 modified

Full Patch

diff --git a/monitor/bt.h b/monitor/bt.h
index 5a27120..a66b1a5 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -104,14 +104,19 @@ struct bt_ll_reject_ind {
 #define BT_H4_SCO_PKT	0x03
 #define BT_H4_EVT_PKT	0x04
 
+struct bt_hci_cmd_hdr {
+	uint16_t opcode;
+	uint8_t  plen;
+} __attribute__ ((packed));
+
 struct bt_hci_acl_hdr {
 	uint16_t handle;
 	uint16_t dlen;
 } __attribute__ ((packed));
 
-struct bt_hci_cmd_hdr {
-	uint16_t opcode;
-	uint8_t  plen;
+struct bt_hci_sco_hdr {
+	uint16_t handle;
+	uint8_t  dlen;
 } __attribute__ ((packed));
 
 struct bt_hci_evt_hdr {