From 4702df0cec979a3363b9b3452dc84e57d6c1c017 Mon Sep 17 00:00:00 2001 From: Joakim Andersson Date: Sat, 1 Feb 2020 21:01:02 +0100 Subject: [PATCH] Bluetooth: HCI: Fix size of evt_type parameter Fix the size of the evt_type, this lead to error over serialized HCI where the event could not be interpreted correctly from the HCI controller. Signed-off-by: Joakim Andersson --- include/bluetooth/hci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bluetooth/hci.h b/include/bluetooth/hci.h index 318e6089d25..d8f84a85b0c 100644 --- a/include/bluetooth/hci.h +++ b/include/bluetooth/hci.h @@ -1586,7 +1586,7 @@ struct bt_hci_evt_le_phy_update_complete { #define BT_HCI_EVT_LE_EXT_ADVERTISING_REPORT 0x0d struct bt_hci_evt_le_ext_advertising_info { - u8_t evt_type; + u16_t evt_type; bt_addr_le_t addr; u8_t prim_phy; u8_t sec_phy;