diff options
author | Sathish Narasimman <nsathish41@gmail.com> | 2020-07-23 18:09:01 +0530 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-07-30 09:34:43 +0200 |
commit | 5c49bcce5c124406920843af65574104aaaa3309 (patch) | |
tree | e284e4031763440e8ed87d9c8d807ae79d69b8ec /net/bluetooth/mgmt.c | |
parent | d03c759e391901ed8584117abd52ca4381a652c9 (diff) | |
download | linux-5c49bcce5c124406920843af65574104aaaa3309.tar.gz linux-5c49bcce5c124406920843af65574104aaaa3309.tar.bz2 linux-5c49bcce5c124406920843af65574104aaaa3309.zip |
Bluetooth: Enable/Disable address resolution during le create conn
In this patch if le_create_conn process is started restrict to
disable address resolution and same is disabled during
le_enh_connection_complete
Signed-off-by: Sathish Narasimman <sathish.narasimman@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/mgmt.c')
-rw-r--r-- | net/bluetooth/mgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index f45105d2de77..47bcfe2fb14c 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c @@ -5226,7 +5226,7 @@ static int set_scan_params(struct sock *sk, struct hci_dev *hdev, hci_req_init(&req, hdev); - hci_req_add_le_scan_disable(&req); + hci_req_add_le_scan_disable(&req, false); hci_req_add_le_passive_scan(&req); hci_req_run(&req, NULL); |