summaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_request.h
diff options
context:
space:
mode:
authorBrian Gix <brian.gix@intel.com>2022-07-22 02:22:24 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-07-22 22:55:40 +0300
commitbb87672562f871edd7a220222dd2480a87294580 (patch)
treea9321e8dffe825f3094f553839cc048b430d5c66 /net/bluetooth/hci_request.h
parentec2904c259c56fbe50aacd838da9553a6eea6683 (diff)
downloadlinux-bb87672562f871edd7a220222dd2480a87294580.tar.xz
Bluetooth: Remove update_scan hci_request dependancy
This removes the remaining calls to HCI_OP_WRITE_SCAN_ENABLE from hci_request call chains, and converts them to hci_sync calls. Signed-off-by: Brian Gix <brian.gix@intel.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/bluetooth/hci_request.h')
-rw-r--r--net/bluetooth/hci_request.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/bluetooth/hci_request.h b/net/bluetooth/hci_request.h
index 2b2fba278510..821244ad9d73 100644
--- a/net/bluetooth/hci_request.h
+++ b/net/bluetooth/hci_request.h
@@ -108,11 +108,6 @@ bool hci_req_stop_discovery(struct hci_request *req);
int hci_req_configure_datapath(struct hci_dev *hdev, struct bt_codec *codec);
-static inline void hci_req_update_scan(struct hci_dev *hdev)
-{
- queue_work(hdev->req_workqueue, &hdev->scan_update);
-}
-
void __hci_req_update_scan(struct hci_request *req);
int hci_update_random_address(struct hci_request *req, bool require_privacy,