diff options
author | Brian Gix <brian.gix@intel.com> | 2022-08-06 01:42:35 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-08-26 01:20:30 +0200 |
commit | 651cd3d65b0f76a2198fcf3a80ce5d53dd267717 (patch) | |
tree | 5d6a587a3149c84a28c5cc06688b33934bc44b55 /include/net/bluetooth | |
parent | Bluetooth: move hci_get_random_address() to hci_sync (diff) | |
download | linux-651cd3d65b0f76a2198fcf3a80ce5d53dd267717.tar.xz linux-651cd3d65b0f76a2198fcf3a80ce5d53dd267717.zip |
Bluetooth: convert hci_update_adv_data to hci_sync
hci_update_adv_data() is called from hci_event and hci_core due to
events from the controller. The prior function used the deprecated
hci_request method, and the new one uses hci_sync.c
Signed-off-by: Brian Gix <brian.gix@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci_sync.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_sync.h b/include/net/bluetooth/hci_sync.h index b6b975c2ed3e..17f5a4c32f36 100644 --- a/include/net/bluetooth/hci_sync.h +++ b/include/net/bluetooth/hci_sync.h @@ -61,6 +61,7 @@ int hci_update_random_address_sync(struct hci_dev *hdev, bool require_privacy, int hci_update_scan_rsp_data_sync(struct hci_dev *hdev, u8 instance); int hci_update_adv_data_sync(struct hci_dev *hdev, u8 instance); +int hci_update_adv_data(struct hci_dev *hdev, u8 instance); int hci_schedule_adv_instance_sync(struct hci_dev *hdev, u8 instance, bool force); |