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

Commit 1d9c5e32 authored by Sunny Kapdi's avatar Sunny Kapdi Committed by Android Git Automerger
Browse files

am 4db78919: Fixes BLE HCI commands concurrency issue

* commit '4db78919':
  Fixes BLE HCI commands concurrency issue
parents 2cbaad6d 4db78919
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