summaryrefslogtreecommitdiff
path: root/monitor/bt.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-05-02 14:43:20 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-05-02 16:42:53 -0700
commitb7ca43eedfd5a028909a410287ad915ec026e24d (patch)
tree2016715b9ddd403b7eae78197f959b823be9f7fd /monitor/bt.h
parent6bf9d1775cf4ccd7374a6a88f353ddefaa123d52 (diff)
downloadbluez-b7ca43eedfd5a028909a410287ad915ec026e24d.tar.gz
monitor: Fix parsing of LE Terminate BIG Complete event
LE Terminate BIG Complete event format Subevent_Code, BIG_Handle and Reason but the last two were swapped.
Diffstat (limited to 'monitor/bt.h')
-rw-r--r--monitor/bt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/bt.h b/monitor/bt.h
index 644c97c98..7aa016a0e 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -3649,8 +3649,8 @@ struct bt_hci_evt_le_big_complete {
#define BT_HCI_EVT_LE_BIG_TERMINATE 0x1c
struct bt_hci_evt_le_big_terminate {
- uint8_t reason;
uint8_t handle;
+ uint8_t reason;
} __attribute__ ((packed));
#define BT_HCI_EVT_LE_BIG_SYNC_ESTABILISHED 0x1d