UVC error handling when receiving 0 length unknow command


It's hard to reproduce a unknow command in real world, so we use "Bus Hound" in Windows to simulate this situlation.


  1. Use "Bus Hound" to send a zero-length error command via control ep


  1. "Bus Hound" got a canceled message from windows driver after 10 sec

  1. USB Analyzer
            we set a stall in control IN, then Windows host receive stall

            we set a stall in control IN, but Windows host waiting in OUT stage

  1. After applying this [PATCH] usb: dwc2: gadget: stall handshakes returned by control pipes in status stage ,
    we can stall error command ether non-zero length or zero-length