mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-11 04:57:38 +00:00
Component/bt: fix connect fail when remote addr type is random
This commit is contained in:
@@ -2202,9 +2202,7 @@ BOOLEAN l2cu_create_conn (tL2C_LCB *p_lcb, tBT_TRANSPORT transport)
|
||||
|
||||
#if (BLE_INCLUDED == TRUE)
|
||||
tBT_DEVICE_TYPE dev_type;
|
||||
tBLE_ADDR_TYPE addr_type;
|
||||
|
||||
|
||||
tBLE_ADDR_TYPE addr_type = p_lcb->open_addr_type;
|
||||
BTM_ReadDevInfo(p_lcb->remote_bd_addr, &dev_type, &addr_type);
|
||||
|
||||
if (transport == BT_TRANSPORT_LE) {
|
||||
|
Reference in New Issue
Block a user