Lines Matching refs:disc_res
634 UINT16 disc_res = HCI_SUCCESS; in hidh_l2cif_disconnect_ind() local
665 disc_res = btm_get_acl_disc_reason_code(); in hidh_l2cif_disconnect_ind()
668 if( (disc_res == HCI_ERR_CONNECTION_TOUT || disc_res == HCI_ERR_UNSPECIFIED) && in hidh_l2cif_disconnect_ind()
677 … hh_cb.callback( dhandle, hh_cb.devices[dhandle].addr, HID_HDEV_EVT_CLOSE, disc_res, NULL); in hidh_l2cif_disconnect_ind()
686 if ((disc_res == HCI_ERR_AUTH_FAILURE) || in hidh_l2cif_disconnect_ind()
687 (disc_res == HCI_ERR_KEY_MISSING) || in hidh_l2cif_disconnect_ind()
688 (disc_res == HCI_ERR_HOST_REJECT_SECURITY) || in hidh_l2cif_disconnect_ind()
689 (disc_res == HCI_ERR_PAIRING_NOT_ALLOWED) || in hidh_l2cif_disconnect_ind()
690 (disc_res == HCI_ERR_UNIT_KEY_USED) || in hidh_l2cif_disconnect_ind()
691 (disc_res == HCI_ERR_PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED) || in hidh_l2cif_disconnect_ind()
692 (disc_res == HCI_ERR_ENCRY_MODE_NOT_ACCEPTABLE) || in hidh_l2cif_disconnect_ind()
693 (disc_res == HCI_ERR_REPEATED_ATTEMPTS)) in hidh_l2cif_disconnect_ind()