diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-11-22 18:00:22 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-12-10 00:51:48 +0100 |
commit | 14bf5eac7a4f4bf0729ff8eb358de4fab967cee1 (patch) | |
tree | 82a17c6b076ce7a7f496833f36cb1f267fc14faa /net/bluetooth/hci_request.h | |
parent | Bluetooth: Move connectable changes to hdev->req_workqueue (diff) | |
download | linux-14bf5eac7a4f4bf0729ff8eb358de4fab967cee1.tar.xz linux-14bf5eac7a4f4bf0729ff8eb358de4fab967cee1.zip |
Bluetooth: Perform Class of Device changes through hdev->req_workqueue
The Class of Device needs to be changed e.g. for limited discoverable
mode. In preparation of moving the discoverable mode to hci_request.c
and hdev->req_workqueue, move the Class of Device helpers there first.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_request.h')
-rw-r--r-- | net/bluetooth/hci_request.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/hci_request.h b/net/bluetooth/hci_request.h index 5358b1b12ca0..41920348d68b 100644 --- a/net/bluetooth/hci_request.h +++ b/net/bluetooth/hci_request.h @@ -72,6 +72,8 @@ int __hci_req_schedule_adv_instance(struct hci_request *req, u8 instance, void hci_req_clear_adv_instance(struct hci_dev *hdev, struct hci_request *req, u8 instance, bool force); +void __hci_req_update_class(struct hci_request *req); + /* Returns true if HCI commands were queued */ bool hci_req_stop_discovery(struct hci_request *req); |