diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-01-27 13:07:48 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-01-27 13:07:48 +0000 |
commit | 22b04429e66949e35455077f04fdef99ccd9382a (patch) | |
tree | 8720aba9e4a5d83bdbef8c601662299dbf78d91e /LUFA/Drivers/USB/Core/DeviceStandardReq.c | |
parent | 5937a134ab6afdcf8250bf4f23d7685bdab687a3 (diff) | |
download | lufa-22b04429e66949e35455077f04fdef99ccd9382a.tar.gz lufa-22b04429e66949e35455077f04fdef99ccd9382a.tar.bz2 lufa-22b04429e66949e35455077f04fdef99ccd9382a.zip |
Fixed incorrectly issuing STALL response to unsupported control request SETUP packets, rather than in the data/status stage.
Diffstat (limited to 'LUFA/Drivers/USB/Core/DeviceStandardReq.c')
-rw-r--r-- | LUFA/Drivers/USB/Core/DeviceStandardReq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Core/DeviceStandardReq.c b/LUFA/Drivers/USB/Core/DeviceStandardReq.c index 1106f7b0b..6284dd389 100644 --- a/LUFA/Drivers/USB/Core/DeviceStandardReq.c +++ b/LUFA/Drivers/USB/Core/DeviceStandardReq.c @@ -117,8 +117,8 @@ void USB_Device_ProcessControlRequest(void) if (Endpoint_IsSETUPReceived()) { - Endpoint_StallTransaction(); Endpoint_ClearSETUP(); + Endpoint_StallTransaction(); } } |