From 69ba857de32c6039925b7972ea8c22cacfce3b8e 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. Signed-off-by: Manika Shrivastava Signed-off-by: Ayush Garg --- monitor/bt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor/bt.h b/monitor/bt.h index f9a17f4..0c6dcdf 100755 --- a/monitor/bt.h +++ b/monitor/bt.h @@ -3648,8 +3648,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 -- 2.7.4