aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2020-04-15 17:35:16 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2020-04-16 12:43:03 +0300
commit7edc9079540b65026f3d3386b3642d1820d5fed5 (patch)
tree5b45f6c57217172d513e0744e9439c473476d938
parentBluetooth: Clear HCI_LL_RPA_RESOLUTION flag on reset (diff)
downloadwireguard-linux-7edc9079540b65026f3d3386b3642d1820d5fed5.tar.xz
wireguard-linux-7edc9079540b65026f3d3386b3642d1820d5fed5.zip
Bluetooth: Enhanced Connection Complete event belongs to LL Privacy
The Enhanced Connection Complete event is use in conjunction with LL Privacy and not Extended Advertising. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
-rw-r--r--net/bluetooth/hci_core.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 0d726d59a492..51d399273276 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -719,14 +719,6 @@ static int hci_init3_req(struct hci_request *req, unsigned long opt)
* Report
*/
- /* If the controller supports the LE Extended Create Connection
- * command, enable the corresponding event.
- */
- if (use_ext_conn(hdev))
- events[1] |= 0x02; /* LE Enhanced Connection
- * Complete
- */
-
/* If the controller supports the LE Extended Advertising
* command, enable the corresponding event.
*/