component/bt: add clear rand address API
This commit is contained in:
@@ -765,6 +765,8 @@ void bta_dm_remove_device(tBTA_DM_MSG *p_data)
|
||||
if (continue_delete_dev) {
|
||||
bta_dm_process_remove_device(p_dev->bd_addr, transport);
|
||||
}
|
||||
|
||||
BTM_ClearInqDb (p_dev->bd_addr);
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
@@ -4687,6 +4689,12 @@ void bta_dm_ble_set_rand_address(tBTA_DM_MSG *p_data)
|
||||
|
||||
}
|
||||
|
||||
void bta_dm_ble_clear_rand_address(tBTA_DM_MSG *p_data)
|
||||
{
|
||||
UNUSED(p_data);
|
||||
BTM_BleClearRandAddress();
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function bta_dm_ble_stop_advertising
|
||||
|
||||
Reference in New Issue
Block a user