Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4db78919 authored by Sunny Kapdi's avatar Sunny Kapdi Committed by Zhihai Xu
Browse files

Fixes BLE HCI commands concurrency issue



Removes HCI LE Read Remote features command call
to prevent the concurrency between this command and
HCI LE start encryption command.

CRs-fixed: 517330

bug:11450568
Change-Id: I6445ab8095a4261c2a3f84acea1c546e6924f50d
Signed-off-by: default avatarSunny Kapdi <sunnyk@codeaurora.org>
parent fd7aed47
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -356,6 +356,11 @@
#define BTA_HOST_INTERLEAVE_SEARCH FALSE
#endif

/* This feature is used to skip query of ble read remote features*/
#ifndef BTA_SKIP_BLE_READ_REMOTE_FEAT
#define BTA_SKIP_BLE_READ_REMOTE_FEAT FALSE
#endif

#ifndef BT_TRACE_PROTOCOL
#define BT_TRACE_PROTOCOL  TRUE
#endif
+2 −0
Original line number Diff line number Diff line
@@ -251,10 +251,12 @@ void btm_acl_created (BD_ADDR bda, DEV_CLASS dc, BD_NAME bdn,
            {
                btm_establish_continue(p);

#if (!defined(BTA_SKIP_BLE_READ_REMOTE_FEAT) || BTA_SKIP_BLE_READ_REMOTE_FEAT == FALSE)
                if (link_role == HCI_ROLE_MASTER)
                {
                    btsnd_hcic_ble_read_remote_feat(p->hci_handle);
                }
#endif
            }
            else
#endif