Changeset a5b3de6 in mainline for uspace/lib/usbhost/src/hcd.c


Ignore:
Timestamp:
2017-10-25T11:55:15Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2b35478
Parents:
c3d926f
Message:

usbhost endpoint: removed target

The reasons for having usb_target_t inside endpoint have been dismissed. Enpoint is not a target of a transaction, so this was just misleading.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/hcd.c

    rc3d926f ra5b3de6  
    109109                usb_log_error("Endpoint(%d:%d) %s needs %zu bw "
    110110                    "but only %zu is reserved.\n",
    111                     ep->target.address, ep->target.endpoint, name, bw, ep->bandwidth);
     111                    device->address, ep->endpoint, name, bw, ep->bandwidth);
    112112                return ENOSPC;
    113113        }
     
    119119        }
    120120
     121        batch->target = target;
    121122        batch->buffer = data;
    122123        batch->buffer_size = size;
Note: See TracChangeset for help on using the changeset viewer.