TimJTi opened a new pull request, #16435:
URL: https://github.com/apache/nuttx/pull/16435

   ## Summary
   
   See issue 16345 [here](https://github.com/apache/nuttx/issues/16345).
   
   I found that the CDC-NCM link only successfully established on the first 
connection. If the USB was unplugged then replugged the link was not 
re-established.
   
   @zhhyu7 provided the fix which I validated, and is now submitted here for 
all..
   
   ## Impact
   
   The change is simple, involving the reset of the CDC-NCM configuration on a 
disconnect; it is then able to be reconfigured at the next connect. Impact 
should only be positive.
   
   ## Testing
   
   After this fix I have had several weeks of ongoing development using CDC-NCM 
with 100's of connect/disconnect cycles with NO repeats of the issue.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to