int usb_ep_set_halt (struct usb_ep * ep);
Use this to stall an endpoint, perhaps as an error report. Except for control endpoints, the endpoint stays halted (will not stream any data) until the host clears this feature; drivers may need to empty the endpoint's request queue first, to make sure no inappropriate transfers happen.
Returns zero, or a negative error code. On success, this call sets underlying hardware state that blocks data transfers.
This documentation was generated with kernel version 2.6.0.