Ignore:
Timestamp:
2017-11-20T12:56:00Z (6 years ago)
Author:
Aearsis <Hlavaty.Ondrej@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d3086873
Parents:
ff14aede
git-author:
Aearsis <Hlavaty.Ondrej@…> (2017-11-20 12:55:58)
git-committer:
Aearsis <Hlavaty.Ondrej@…> (2017-11-20 12:56:00)
Message:

usbhost: endpoints do not have speed on their own

This information was redundant, and the fact it was never set proves it
should be removed because it is source of errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/uhci_batch.c

    rff14aede r888238e9  
    233233        const usb_packet_id pid = direction_pids[dir];
    234234        const bool low_speed =
    235             uhci_batch->base.ep->speed == USB_SPEED_LOW;
     235            uhci_batch->base.ep->device->speed == USB_SPEED_LOW;
    236236        const size_t mps = uhci_batch->base.ep->max_packet_size;
    237237
     
    295295        const usb_packet_id status_stage_pid = status_stage_pids[dir];
    296296        const bool low_speed =
    297             uhci_batch->base.ep->speed == USB_SPEED_LOW;
     297            uhci_batch->base.ep->device->speed == USB_SPEED_LOW;
    298298        const size_t mps = uhci_batch->base.ep->max_packet_size;
    299299        const usb_target_t target = uhci_batch->base.target;
Note: See TracChangeset for help on using the changeset viewer.