OSDN Git Service

Fix initiating_PHYS bit in HCI_LE_Extend_Create_Connection
authorKevin Wang <wk091218@gmail.com>
Thu, 17 Oct 2019 06:18:57 +0000 (14:18 +0800)
committerJakub Pawlowski <jpawlowski@google.com>
Thu, 17 Oct 2019 11:59:06 +0000 (11:59 +0000)
commit618806154a04271b9548e44b47e38b7b8acfdc35
tree30cac910d5c8b7b68afa0e5e60f098d74bfdd14c
parent92401c009e829945242864d1751c2f4e486875c0
Fix initiating_PHYS bit in HCI_LE_Extend_Create_Connection

The initiating_PHYS bit in HCI_LE_Extend_Create_Connection should
be set properly according to the ability of bluetooth controller.
PHY_LE_CODED bit should be 0x04 instead of 0x03.

Test: Start to scan on settings then pick LE device to create bond

Bug: 142840872

Change-Id: Ia991ac2d4090629f0c20e41cdb2ab992aefcba72
stack/include/btm_api_types.h [changed mode: 0644->0755]