component/bt: add clear rand address API

This commit is contained in:
zwj
2018-08-27 21:32:39 +08:00
committed by chensheng
parent 518942ec61
commit fa00e6d4f7
19 changed files with 326 additions and 78 deletions
@@ -368,6 +368,10 @@ void btm_sec_free_dev (tBTM_SEC_DEV_REC *p_dev_rec, tBT_TRANSPORT transport)
btm_sec_clear_ble_keys (p_dev_rec);
#endif
}
/* No BLE keys and BT keys, clear the sec_flags */
if(p_dev_rec->sec_flags == BTM_SEC_IN_USE) {
p_dev_rec->sec_flags = 0;
}
}
/*******************************************************************************