Fixed incorrectly issuing STALL response to unsupported control request SETUP packets...
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 27 Jan 2013 13:07:48 +0000 (13:07 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 27 Jan 2013 13:07:48 +0000 (13:07 +0000)
LUFA/DoxygenPages/ChangeLog.txt
LUFA/DoxygenPages/LUFAPoweredProjects.txt
LUFA/Drivers/USB/Core/DeviceStandardReq.c

index f6bb67a..e16f082 100644 (file)
@@ -29,6 +29,7 @@
   *
   *  <b>Fixed:</b>
   *  - Core:
   *
   *  <b>Fixed:</b>
   *  - Core:
+  *   - Fixed incorrectly issuing STALL response to unsupported control request SETUP packets, rather than in the data/status stage
   *   - Fixed inverted LEDs_GetLEDs() function implementation for the Benito, Minimus and Arduino UNO boards
   *   - Fixed missing Win-32bit compatibility sections in the LUFA INF driver files (thanks to Christan Beharrell)
   *   - Fixed logic hole breaking USB operations on a USB controller with only one supported USB mode and no USB_DEVICE_ONLY or USB_HOST_ONLY
   *   - Fixed inverted LEDs_GetLEDs() function implementation for the Benito, Minimus and Arduino UNO boards
   *   - Fixed missing Win-32bit compatibility sections in the LUFA INF driver files (thanks to Christan Beharrell)
   *   - Fixed logic hole breaking USB operations on a USB controller with only one supported USB mode and no USB_DEVICE_ONLY or USB_HOST_ONLY
index 00e52c0..1854c16 100644 (file)
  *  \li Elektor Magazine, "USB is Cool/Sucks" by Jerry Jacobs and Chris Vossen (minor mention), January 2010 Issue
  *  \li Elektor Magazine, "20 x Open Source" by Jens Nickel, March 2010 Issue
  *  \li Circuit Cellar Magazine, "Advanced USB Design Debugging" by Collin O'Flynn, August 2010 Issue
  *  \li Elektor Magazine, "USB is Cool/Sucks" by Jerry Jacobs and Chris Vossen (minor mention), January 2010 Issue
  *  \li Elektor Magazine, "20 x Open Source" by Jens Nickel, March 2010 Issue
  *  \li Circuit Cellar Magazine, "Advanced USB Design Debugging" by Collin O'Flynn, August 2010 Issue
+ *  \li Elektor Magazine, "Taming the Beast (2)" by Clemens Valens/Raymond Vermeulen, January 2013 Issue
  *
  *  \section Sec_LUFANotableMentions Other Notable Mentions of LUFA
  *  The following are non-magazine but notable mentions of the LUFA library.
  *
  *  \section Sec_LUFANotableMentions Other Notable Mentions of LUFA
  *  The following are non-magazine but notable mentions of the LUFA library.
index 1106f7b..6284dd3 100644 (file)
@@ -117,8 +117,8 @@ void USB_Device_ProcessControlRequest(void)
 
        if (Endpoint_IsSETUPReceived())
        {
 
        if (Endpoint_IsSETUPReceived())
        {
-               Endpoint_StallTransaction();
                Endpoint_ClearSETUP();
                Endpoint_ClearSETUP();
+               Endpoint_StallTransaction();
        }
 }
 
        }
 }