summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_request.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2016-03-09 17:30:34 +0200
committerMarcel Holtmann <marcel@holtmann.org>2016-03-10 19:51:30 +0100
commit82a37adeedd38880940e2772ec1ae27a09353e5a (patch)
tree1bcb7b13da9a469b99334e01090ea23bc62d29af /net/bluetooth/hci_request.h
parentd43efbd0d545f476be0bbef30cbe18234f8a9631 (diff)
downloadlinux-stable-82a37adeedd38880940e2772ec1ae27a09353e5a.tar.gz
linux-stable-82a37adeedd38880940e2772ec1ae27a09353e5a.tar.bz2
linux-stable-82a37adeedd38880940e2772ec1ae27a09353e5a.zip
Bluetooth: Add support for limited privacy mode
Introduce a limited privacy mode indicated by value 0x02 to the mgmt Set Privacy command. With value 0x02 the kernel will use privacy mode with a resolvable private address. In case the controller is bondable and discoverable the identity address will be used. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_request.h b/net/bluetooth/hci_request.h
index 64ff8c040d50..b2d044bdc732 100644
--- a/net/bluetooth/hci_request.h
+++ b/net/bluetooth/hci_request.h
@@ -89,7 +89,7 @@ static inline void hci_req_update_scan(struct hci_dev *hdev)
void __hci_req_update_scan(struct hci_request *req);
int hci_update_random_address(struct hci_request *req, bool require_privacy,
- u8 *own_addr_type);
+ bool use_rpa, u8 *own_addr_type);
int hci_abort_conn(struct hci_conn *conn, u8 reason);
void __hci_abort_conn(struct hci_request *req, struct hci_conn *conn,