Changeset e31b5c1 in mainline


Ignore:
Timestamp:
2011-04-28T12:48:08Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
57c7050
Parents:
aa9a53d
Message:

usbvirt: improved message text

Unhandled control transfer prints also the data buffer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbvirt/src/transfer.c

    raa9a53d re31b5c1  
    6868
    6969        if (rc == EFORWARD) {
    70                 usb_log_warning("Control transfer {%s} not handled.\n",
    71                     usb_debug_str_buffer(setup, setup_size, 10));
     70                usb_log_warning("Control transfer {%s (%s)} not handled.\n",
     71                    usb_debug_str_buffer(setup, setup_size, 10),
     72                    setup_packet->request_type & 0x80
     73                    ? "IN" : usb_debug_str_buffer(data, data_size, 10));
    7274                rc = EBADCHECKSUM;
    7375        }
Note: See TracChangeset for help on using the changeset viewer.