diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-07-01 16:00:08 -0400 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-07-15 10:11:27 -0400 |
commit | 92048ab2e2e6cc90ad1cc9f55deb5cec4d731793 (patch) | |
tree | 152e3b7540f16435298a74ce4c830c05ae1f0782 /include | |
parent | 88b73fdc8144de7daf1156509df4d82830f48202 (diff) | |
download | linux-stable-92048ab2e2e6cc90ad1cc9f55deb5cec4d731793.tar.gz linux-stable-92048ab2e2e6cc90ad1cc9f55deb5cec4d731793.tar.bz2 linux-stable-92048ab2e2e6cc90ad1cc9f55deb5cec4d731793.zip |
Bluetooth: hci_core: Remove usage of hci_req_sync
hci_request functions are considered deprecated so this replaces the
usage of hci_req_sync with hci_inquiry_sync.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/hci_sync.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_sync.h b/include/net/bluetooth/hci_sync.h index 20168732f20e..620e6014beb2 100644 --- a/include/net/bluetooth/hci_sync.h +++ b/include/net/bluetooth/hci_sync.h @@ -131,6 +131,8 @@ int hci_update_discoverable(struct hci_dev *hdev); int hci_update_connectable_sync(struct hci_dev *hdev); +int hci_inquiry_sync(struct hci_dev *hdev, u8 length, u8 num_rsp); + int hci_start_discovery_sync(struct hci_dev *hdev); int hci_stop_discovery_sync(struct hci_dev *hdev); |