aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_conn.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2019-06-03 13:48:42 +0300
committerMarcel Holtmann <marcel@holtmann.org>2019-07-06 15:38:18 +0200
commit1d0fac2c38edb25067e8f69195e2f76b67a2717d (patch)
treeae68e64fbf78fbbc62c10606d167a108f16f3ccc /net/bluetooth/hci_conn.c
parentBluetooth: validate BLE connection interval updates (diff)
downloadlinux-dev-1d0fac2c38edb25067e8f69195e2f76b67a2717d.tar.xz
linux-dev-1d0fac2c38edb25067e8f69195e2f76b67a2717d.zip
Bluetooth: Use controller sets when available
This makes use of controller sets when using Extended Advertising feature thus offloading the scheduling to the controller. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_conn.c')
-rw-r--r--net/bluetooth/hci_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c
index 17e5111daa11..ad5b0ac1f9ce 100644
--- a/net/bluetooth/hci_conn.c
+++ b/net/bluetooth/hci_conn.c
@@ -915,7 +915,7 @@ static void hci_req_directed_advertising(struct hci_request *req,
sizeof(cp), &cp);
}
- __hci_req_enable_ext_advertising(req);
+ __hci_req_enable_ext_advertising(req, 0x00);
} else {
struct hci_cp_le_set_adv_param cp;