From b7ca43eedfd5a028909a410287ad915ec026e24d Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 2 May 2022 14:43:20 -0700 Subject: [PATCH] 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. --- monitor/bt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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