提交 145a0913 编写于 作者: J Johan Hedberg 提交者: Marcel Holtmann

Bluetooth: Make __hci_update_background_scan private to hci_request.c

There are no more external users so this API can be made private.
Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 af02dd44
...@@ -670,7 +670,7 @@ void hci_update_page_scan(struct hci_dev *hdev) ...@@ -670,7 +670,7 @@ void hci_update_page_scan(struct hci_dev *hdev)
* *
* This function requires the caller holds hdev->lock. * This function requires the caller holds hdev->lock.
*/ */
void __hci_update_background_scan(struct hci_request *req) static void __hci_update_background_scan(struct hci_request *req)
{ {
struct hci_dev *hdev = req->hdev; struct hci_dev *hdev = req->hdev;
......
...@@ -64,8 +64,6 @@ void __hci_update_page_scan(struct hci_request *req); ...@@ -64,8 +64,6 @@ void __hci_update_page_scan(struct hci_request *req);
int hci_update_random_address(struct hci_request *req, bool require_privacy, int hci_update_random_address(struct hci_request *req, bool require_privacy,
u8 *own_addr_type); u8 *own_addr_type);
void __hci_update_background_scan(struct hci_request *req);
int hci_abort_conn(struct hci_conn *conn, u8 reason); int hci_abort_conn(struct hci_conn *conn, u8 reason);
void __hci_abort_conn(struct hci_request *req, struct hci_conn *conn, void __hci_abort_conn(struct hci_request *req, struct hci_conn *conn,
u8 reason); u8 reason);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册