monitor: Fix parsing of LE Terminate BIG Complete event
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 2 May 2022 21:43:20 +0000 (14:43 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
LE Terminate BIG Complete event format Subevent_Code, BIG_Handle and
Reason but the last two were swapped.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
monitor/bt.h

index f9a17f4..0c6dcdf 100755 (executable)
@@ -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