diff options
| author | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-19 06:40:19 -0500 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2014-12-19 06:52:18 -0500 |
| commit | 1d2dc5b7b32393bb2d818e0de82a66b1a654d329 (patch) | |
| tree | 7318d9ed34bbe00945e98e6106a5fb2ba47a65ba /include/net/bluetooth | |
| parent | c8c7e3db819f4fc483793d55655cbbae045203f0 (diff) | |
Bluetooth: Split hci_update_page_scan into two functions
To keep the parameter list and its semantics clear it makes sense to
split the hci_update_page_scan function into two separate functions: one
taking a hci_dev and another taking a hci_request. The one taking a
hci_dev constructs its own hci_request and then calls the other
function.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
| -rw-r--r-- | include/net/bluetooth/hci_core.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 3c7827005c25..664451a64d72 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
| @@ -1306,7 +1306,8 @@ bool hci_req_pending(struct hci_dev *hdev); | |||
| 1306 | void hci_req_add_le_scan_disable(struct hci_request *req); | 1306 | void hci_req_add_le_scan_disable(struct hci_request *req); |
| 1307 | void hci_req_add_le_passive_scan(struct hci_request *req); | 1307 | void hci_req_add_le_passive_scan(struct hci_request *req); |
| 1308 | 1308 | ||
| 1309 | void hci_update_page_scan(struct hci_dev *hdev, struct hci_request *req); | 1309 | void hci_update_page_scan(struct hci_dev *hdev); |
| 1310 | void __hci_update_page_scan(struct hci_request *req); | ||
| 1310 | 1311 | ||
| 1311 | struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, | 1312 | struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, |
| 1312 | const void *param, u32 timeout); | 1313 | const void *param, u32 timeout); |
