Changeset 2155955 in mainline


Ignore:
Timestamp:
2011-11-07T11:39:55Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bcf54ac
Parents:
f750345
Message:

libusbhid: Failure to send report is an error not warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhid/src/hidreq.c

    rf750345 r2155955  
    8484        usb_log_debug("Sending Set Report request to the device.\n");
    8585       
    86         rc = usb_control_request_set(ctrl_pipe, 
    87             USB_REQUEST_TYPE_CLASS, USB_REQUEST_RECIPIENT_INTERFACE, 
     86        rc = usb_control_request_set(ctrl_pipe,
     87            USB_REQUEST_TYPE_CLASS, USB_REQUEST_RECIPIENT_INTERFACE,
    8888            USB_HIDREQ_SET_REPORT, value, iface_no, buffer, buf_size);
    8989
    9090        if (rc != EOK) {
    91                 usb_log_warning("Error sending Set Report request to the "
     91                usb_log_error("Error sending Set Report request to the "
    9292                    "device: %s.\n", str_error(rc));
    9393                return rc;
Note: See TracChangeset for help on using the changeset viewer.