From: Marcel Holtmann Date: Wed, 15 Apr 2020 15:35:16 +0000 (+0200) Subject: Bluetooth: Enhanced Connection Complete event belongs to LL Privacy X-Git-Tag: v5.8-rc1~165^2~503^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7edc9079540b65026f3d3386b3642d1820d5fed5;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Johan Hedberg --- diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 0d726d59a4920..51d3992732762 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. */