Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset a157846 in mainline


Ignore:
Timestamp:
2015-06-28T16:36:19Z (6 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
fb1007ef
Parents:
ee1c2d9
Message:

usb: Fix EINPROGRESS compile failures

why the removal of EINPROGRESS was hidden in networking changes is beyond me

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.c

    ree1c2d9 ra157846  
    5959        }
    6060        if (status & TD_STATUS_ACTIVE_FLAG)
    61                 return EINPROGRESS;
     61                return EBUSY;
    6262        return EOK;
    6363}
  • uspace/lib/usbhost/src/hcd.c

    ree1c2d9 ra157846  
    277277{
    278278        assert(hcd);
    279         sync_data_t sd = { .done = 0, .ret = EINPROGRESS, .size = size };
     279        sync_data_t sd = { .done = 0, .ret = EBUSY, .size = size };
    280280
    281281        const int ret = hcd_send_batch(hcd, target, dir, data, size, setup_data,
Note: See TracChangeset for help on using the changeset viewer.