diff mbox series

Bluetooth: Enhanced Connection Complete event belongs to LL Privacy

Message ID 20200415153516.38267-1-marcel@holtmann.org (mailing list archive)
State New, archived
Headers show
Series Bluetooth: Enhanced Connection Complete event belongs to LL Privacy | expand

Commit Message

Marcel Holtmann April 15, 2020, 3:35 p.m. UTC
The Enhanced Connection Complete event is use in conjunction with LL
Privacy and not Extended Advertising.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
---
 net/bluetooth/hci_core.c | 8 --------
 1 file changed, 8 deletions(-)

Comments

Johan Hedberg April 16, 2020, 9:43 a.m. UTC | #1
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 <marcel@holtmann.org>
> ---
>  net/bluetooth/hci_core.c | 8 --------
>  1 file changed, 8 deletions(-)

Applied to bluetooth-next. Thanks.

Johan
diff mbox series

Patch

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.
 		 */