Bluetooth: Enhanced Connection Complete event belongs to LL Privacy
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 15 Apr 2020 15:35:16 +0000 (17:35 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 16 Apr 2020 09:43:03 +0000 (12:43 +0300)
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>
net/bluetooth/hci_core.c

index 0d726d5..51d3992 100644 (file)
@@ -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.
                 */