components/bt/host/bluedroid/stack/btm/btm_sec.c
/*******************************************************************************
**
** Function         btm_send_link_key_notif
**
** Description      This function is called when controller requests link key
**
** Returns          Pointer to the record or NULL
**
*******************************************************************************/
Function         btm_send_link_key_notif
Description      This function is called when controller requests link key

Returns          Pointer to the record or NULL
Function btm_send_link_key_notif Description This function is called when controller requests link key Returns Pointer to the record or NULL
static void btm_send_link_key_notif (tBTM_SEC_DEV_REC *p_dev_rec)
{
    if (btm_cb.api.p_link_key_callback) {
        (*btm_cb.api.p_link_key_callback) (p_dev_rec->bd_addr, p_dev_rec->dev_class,
                                           p_dev_rec->sec_bd_name, p_dev_rec->link_key,
                                           p_dev_rec->link_key_type,
                                           p_dev_rec->remote_supports_secure_connections);
    }
}
static void btm_send_link_key_notif ( tBTM_SEC_DEV_REC * p_dev_rec ) { if ( btm_cb . api . p_link_key_callback ) { ( * btm_cb . api . p_link_key_callback ) ( p_dev_rec -> bd_addr , p_dev_rec -> dev_class , p_dev_rec -> sec_bd_name , p_dev_rec -> link_key , p_dev_rec -> link_key_type , p_dev_rec -> remote_supports_secure_connections ) ; } }
Function         btm_send_link_key_notif
Description      This function is called when controller requests link key
Function btm_send_link_key_notif Description This function is called when controller requests link key