Loading system/stack/btm/btm_sec.cc +5 −0 Original line number Diff line number Diff line Loading @@ -1982,6 +1982,11 @@ tBTM_STATUS btm_sec_mx_access_request(const RawAddress& bd_addr, security_required, p_callback, p_ref_data); } else /* rc == BTM_SUCCESS */ { if (access_secure_service_from_temp_bond(p_dev_rec, is_originator, security_required)) { LOG_ERROR("Trying to access a secure rfcomm service from a temp bonding, rejecting"); rc = BTM_FAILED_ON_SECURITY; } if (p_callback) { LOG_DEBUG("Notifying client that security access has been granted"); (*p_callback)(&bd_addr, transport, p_ref_data, rc); Loading Loading
system/stack/btm/btm_sec.cc +5 −0 Original line number Diff line number Diff line Loading @@ -1982,6 +1982,11 @@ tBTM_STATUS btm_sec_mx_access_request(const RawAddress& bd_addr, security_required, p_callback, p_ref_data); } else /* rc == BTM_SUCCESS */ { if (access_secure_service_from_temp_bond(p_dev_rec, is_originator, security_required)) { LOG_ERROR("Trying to access a secure rfcomm service from a temp bonding, rejecting"); rc = BTM_FAILED_ON_SECURITY; } if (p_callback) { LOG_DEBUG("Notifying client that security access has been granted"); (*p_callback)(&bd_addr, transport, p_ref_data, rc); Loading