diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-11-07 19:07:16 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-11-07 19:07:16 -0600 |
commit | d1e1025037be8e000c00bf5aec3addf0c8ccf170 (patch) | |
tree | 59156bc5008888498cc351ef451b88f40da94e3f | |
parent | 786b790715d218d73f1ae9cbf871d876b5f1f35c (diff) | |
download | nuttx-d1e1025037be8e000c00bf5aec3addf0c8ccf170.tar.gz nuttx-d1e1025037be8e000c00bf5aec3addf0c8ccf170.tar.bz2 nuttx-d1e1025037be8e000c00bf5aec3addf0c8ccf170.zip |
Back out a small part of the recent STM32 usbdev fix. From David Sidrane
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_usbdev.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_usbdev.c b/nuttx/arch/arm/src/stm32/stm32_usbdev.c index bcc2d97b9..816e97409 100644 --- a/nuttx/arch/arm/src/stm32/stm32_usbdev.c +++ b/nuttx/arch/arm/src/stm32/stm32_usbdev.c @@ -1774,17 +1774,8 @@ static void stm32_ep0setup(struct stm32_usbdev_s *priv) usbtrace(TRACE_INTDECODE(STM32_TRACEINTID_EP0SETUPOUT), len.w); - /* At this point priv->ctrl is the setup packet. Just ACK the - * setup packet So we can get the data. - * - * REVISIT: I suspect that this should not be here? - */ - - stm32_epwrite(priv, ep0, response.b, 0); - - /* Enable and Wait for the data phase. */ + /* At this point priv->ctrl is the setup packet. */ - priv->rxstatus = USB_EPR_STATRX_VALID; priv->ep0state = EP0STATE_SETUP_OUT; return; } |