Date:2015-04-12 09:16:23 (4 years 5 months ago)
Author:Werner Almesberger
Commit:4b6f390830dda49bf712f689239c9ecbd98fb2be
Message:atusb/fw/usb/usb.c (handle_setup): also pass interface-level GET_DESCRIPTOR to get_descriptor

Files: atusb/fw/usb/usb.c (1 diff)

Change Details

atusb/fw/usb/usb.c
106106        set_addr(setup->wValue);
107107        break;
108108    case FROM_DEVICE(GET_DESCRIPTOR):
109    case FROM_INTERFACE(GET_DESCRIPTOR):
109110        if (!get_descriptor(setup->wValue >> 8, setup->wValue,
110111            setup->wLength))
111112            return 0;

Archive Download the corresponding diff file



interactive