components/bt/host/bluedroid/stack/btm/btm_sec.c
/*******************************************************************************
**
** Function         BTM_SecRegisterLinkKeyNotificationCallback
**
** Description      Application manager calls this function to register for
**                  link key notification.  When there is nobody registered
**                  we should avoid changing link key
**
** Returns          TRUE if registered OK, else FALSE
**
*******************************************************************************/
Function         BTM_SecRegisterLinkKeyNotificationCallback
Description      Application manager calls this function to register for
link key notification.  When there is nobody registered
we should avoid changing link key

Returns          TRUE if registered OK, else FALSE
Function BTM_SecRegisterLinkKeyNotificationCallback Description Application manager calls this function to register for link key notification . When there is nobody registered we should avoid changing link key Returns TRUE if registered OK else FALSE
BOOLEAN BTM_SecRegisterLinkKeyNotificationCallback (tBTM_LINK_KEY_CALLBACK *p_callback)
{
    btm_cb.api.p_link_key_callback = p_callback;
    return TRUE;
}
BOOLEAN BTM_SecRegisterLinkKeyNotificationCallback ( tBTM_LINK_KEY_CALLBACK * p_callback ) { btm_cb . api . p_link_key_callback = p_callback ; return TRUE ; }
Function         BTM_SecRegisterLinkKeyNotificationCallback
Description      Application manager calls this function to register for
link key notification.
Function BTM_SecRegisterLinkKeyNotificationCallback Description Application manager calls this function to register for link key notification .