Loading system/bta/dm/bta_dm_act.cc +4 −3 Original line number Diff line number Diff line Loading @@ -571,6 +571,10 @@ void bta_dm_remove_device(const RawAddress& target) { RawAddress identity_addr = target; bool le_connected = get_btm_client_interface().peer.BTM_ReadConnectedTransportAddress( &pseudo_addr, BT_TRANSPORT_LE); if (pseudo_addr.IsEmpty()) { pseudo_addr = target; } bool bredr_connected = get_btm_client_interface().peer.BTM_ReadConnectedTransportAddress( &identity_addr, BT_TRANSPORT_BR_EDR); /* If connection not found with identity address, check with pseudo address if different */ Loading @@ -579,9 +583,6 @@ void bta_dm_remove_device(const RawAddress& target) { bredr_connected = get_btm_client_interface().peer.BTM_ReadConnectedTransportAddress( &identity_addr, BT_TRANSPORT_BR_EDR); } if (pseudo_addr.IsEmpty()) { pseudo_addr = target; } if (identity_addr.IsEmpty()) { identity_addr = target; } Loading Loading
system/bta/dm/bta_dm_act.cc +4 −3 Original line number Diff line number Diff line Loading @@ -571,6 +571,10 @@ void bta_dm_remove_device(const RawAddress& target) { RawAddress identity_addr = target; bool le_connected = get_btm_client_interface().peer.BTM_ReadConnectedTransportAddress( &pseudo_addr, BT_TRANSPORT_LE); if (pseudo_addr.IsEmpty()) { pseudo_addr = target; } bool bredr_connected = get_btm_client_interface().peer.BTM_ReadConnectedTransportAddress( &identity_addr, BT_TRANSPORT_BR_EDR); /* If connection not found with identity address, check with pseudo address if different */ Loading @@ -579,9 +583,6 @@ void bta_dm_remove_device(const RawAddress& target) { bredr_connected = get_btm_client_interface().peer.BTM_ReadConnectedTransportAddress( &identity_addr, BT_TRANSPORT_BR_EDR); } if (pseudo_addr.IsEmpty()) { pseudo_addr = target; } if (identity_addr.IsEmpty()) { identity_addr = target; } Loading