Loading system/stack/btm/btm_dev.cc +1 −1 Original line number Diff line number Diff line Loading @@ -375,7 +375,7 @@ tBTM_SEC_DEV_REC* btm_find_dev(const RawAddress& bd_addr) { static bool has_lenc_and_address_is_equal(void* data, void* context) { tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); if (!(p_dev_rec->ble.key_type & BTM_LE_KEY_LENC)) return false; if (!(p_dev_rec->ble.key_type & BTM_LE_KEY_LENC)) return true; return is_address_equal(data, context); } Loading Loading
system/stack/btm/btm_dev.cc +1 −1 Original line number Diff line number Diff line Loading @@ -375,7 +375,7 @@ tBTM_SEC_DEV_REC* btm_find_dev(const RawAddress& bd_addr) { static bool has_lenc_and_address_is_equal(void* data, void* context) { tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); if (!(p_dev_rec->ble.key_type & BTM_LE_KEY_LENC)) return false; if (!(p_dev_rec->ble.key_type & BTM_LE_KEY_LENC)) return true; return is_address_equal(data, context); } Loading