Bluetooth: HCI: Use skb_pull_data to parse BR/EDR events
This uses skb_pull_data to check the BR/EDR events received have the minimum required length. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
committed by
Marcel Holtmann
parent
13244cccc2
commit
ae61a10d9d
@@ -2012,6 +2012,10 @@ struct hci_cp_le_reject_cis {
|
||||
} __packed;
|
||||
|
||||
/* ---- HCI Events ---- */
|
||||
struct hci_ev_status {
|
||||
__u8 status;
|
||||
} __packed;
|
||||
|
||||
#define HCI_EV_INQUIRY_COMPLETE 0x01
|
||||
|
||||
#define HCI_EV_INQUIRY_RESULT 0x02
|
||||
|
||||
Reference in New Issue
Block a user