usb_ep_set_wedge9
Sets the halt feature and ignores clear requests
Usage
int usb_ep_set_wedge(struct usb_ep * ep);
Arguments
ep
the endpoint being wedged
Overview
Use this to stall an endpoint and ignore CLEAR_FEATURE(HALT_ENDPOINT) requests. If the gadget driver clears the halt status, it will automatically unwedge the endpoint.
Returns zero on success, else negative errno.
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.