otgfsdev: removed a DEBUGASSERT() that causes a crash on windows reconnect

when windows reconnects to a ACM device, this assert sometimes
triggered. The case it is looking for is handled further down.
This commit is contained in:
Andrew Tridgell 2013-03-20 11:06:33 +11:00
parent d0122dccfc
commit a627f6c0eb
1 changed files with 0 additions and 1 deletions

View File

@ -1512,7 +1512,6 @@ static inline void stm32_ep0out_receive(FAR struct stm32_ep_s *privep, int bcnt)
DEBUGASSERT(privep && privep->ep.priv);
priv = (FAR struct stm32_usbdev_s *)privep->ep.priv;
DEBUGASSERT(priv->ep0state == EP0STATE_SETUP_OUT);
ullvdbg("EP0: bcnt=%d\n", bcnt);
usbtrace(TRACE_READ(EP0), bcnt);