mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-25 10:06:15 +02:00
atusb/fw/usb/usb.c (handle_setup): also pass interface-level GET_DESCRIPTOR to get_descriptor
This commit is contained in:
parent
f7e684bbde
commit
4b6f390830
@ -106,6 +106,7 @@ bool handle_setup(const struct setup_request *setup)
|
||||
set_addr(setup->wValue);
|
||||
break;
|
||||
case FROM_DEVICE(GET_DESCRIPTOR):
|
||||
case FROM_INTERFACE(GET_DESCRIPTOR):
|
||||
if (!get_descriptor(setup->wValue >> 8, setup->wValue,
|
||||
setup->wLength))
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user