Lines Matching refs:disc_res
625 uint16_t disc_res = HCI_SUCCESS; in hidh_l2cif_disconnect_ind() local
653 if (!ack_needed) disc_res = btm_get_acl_disc_reason_code(); in hidh_l2cif_disconnect_ind()
656 if ((disc_res == HCI_ERR_CONNECTION_TOUT || in hidh_l2cif_disconnect_ind()
657 disc_res == HCI_ERR_UNSPECIFIED) && in hidh_l2cif_disconnect_ind()
666 disc_res, NULL); in hidh_l2cif_disconnect_ind()
675 if ((disc_res == HCI_ERR_AUTH_FAILURE) || in hidh_l2cif_disconnect_ind()
676 (disc_res == HCI_ERR_KEY_MISSING) || in hidh_l2cif_disconnect_ind()
677 (disc_res == HCI_ERR_HOST_REJECT_SECURITY) || in hidh_l2cif_disconnect_ind()
678 (disc_res == HCI_ERR_PAIRING_NOT_ALLOWED) || in hidh_l2cif_disconnect_ind()
679 (disc_res == HCI_ERR_UNIT_KEY_USED) || in hidh_l2cif_disconnect_ind()
680 (disc_res == HCI_ERR_PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED) || in hidh_l2cif_disconnect_ind()
681 (disc_res == HCI_ERR_ENCRY_MODE_NOT_ACCEPTABLE) || in hidh_l2cif_disconnect_ind()
682 (disc_res == HCI_ERR_REPEATED_ATTEMPTS)) { in hidh_l2cif_disconnect_ind()