2020-04-16 00:14:33

by Marcel Holtmann

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>
---
net/bluetooth/hci_core.c | 8 --------
1 file changed, 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.
*/
--
2.25.2


2020-04-16 09:44:49

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: Enhanced Connection Complete event belongs to LL Privacy

Hi Marcel,

On Wed, Apr 15, 2020, Marcel Holtmann wrote:
> The Enhanced Connection Complete event is use in conjunction with LL
> Privacy and not Extended Advertising.
>
> Signed-off-by: Marcel Holtmann <[email protected]>
> ---
> net/bluetooth/hci_core.c | 8 --------
> 1 file changed, 8 deletions(-)

Applied to bluetooth-next. Thanks.

Johan