Home | History | Annotate | Download | only in hh

Lines Matching defs:reason

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