Home | History | Annotate | Download | only in hh

Lines Matching full:reason

823     UINT32                  reason = p_data->hid_cback.data;    /* Reason for closing (32-bit) */
827 conn_dat.status = (reason == HID_ERR_AUTH_FAILED) ?
864 UINT32 reason = p_data->hid_cback.data; /* Reason for closing (32-bit) */
872 /* Check reason for closing */
873 if ((reason & (HID_L2CAP_CONN_FAIL|HID_L2CAP_REQ_FAIL)) || /* Failure to initialize connection (page timeout or l2cap error) */
874 (reason == HID_ERR_AUTH_FAILED) || /* Authenication error (while initiating) */
875 (reason == HID_ERR_L2CAP_FAILED)) /* Failure creating l2cap connection */
879 conn_dat.status = (reason == HID_ERR_AUTH_FAILED) ? BTA_HH_ERR_AUTH_FAILED : BTA_HH_ERR;