OSDN Git Service

Bluetooth: hci_event: Use skb_pull_data when processing inquiry results
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 13 Dec 2021 21:38:57 +0000 (13:38 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 22 Dec 2021 22:01:28 +0000 (23:01 +0100)
commitfee645033e2c57fdbd8bace4d5ddc2b18bc4032a
treefd940cbc760705ffa170dd2342ce188489c15dbd
parent744451c162a514044a912cbbd64b7a386035cc5b
Bluetooth: hci_event: Use skb_pull_data when processing inquiry results

This makes each result entry to be checked using skb_pull_data instead
of acessing them by index.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c