As per BT Spec 5.0, peer address type in LE extended create
connection command can have only either 0x00 or 0x01 as valid
values. This change fixes setting of incorrect peer address
type values in extended create connection command.
Bug:
62578331
Bug:
62358300
Change-Id: I792d48be7637fc571727e7e51de1fc397158b4d5
phy_cfg[i].max_ce_len = max_ce_len;
}
+ addr_type_peer &= ~BLE_ADDR_TYPE_ID_BIT;
btsnd_hcic_ble_ext_create_conn(init_filter_policy, addr_type_own,
addr_type_peer, bda_peer, initiating_phys,
phy_cfg);