1USB_EP_SET_WEDGE(9) Kernel Mode Gadget API USB_EP_SET_WEDGE(9)
2
3
4
6 usb_ep_set_wedge - sets the halt feature and ignores clear requests
7
9 int usb_ep_set_wedge(struct usb_ep * ep);
10
12 ep
13 the endpoint being wedged
14
16 Use this to stall an endpoint and ignore CLEAR_FEATURE(HALT_ENDPOINT)
17 requests. If the gadget driver clears the halt status, it will
18 automatically unwedge the endpoint.
19
20 Returns zero on success, else negative errno.
21
23 David Brownell <dbrownell@users.sourceforge.net>
24 Author.
25
27Kernel Hackers Manual 2.6. November 2011 USB_EP_SET_WEDGE(9)