1USB_EP_SET_WEDGE(9)         Kernel Mode Gadget API         USB_EP_SET_WEDGE(9)
2
3
4

NAME

6       usb_ep_set_wedge - sets the halt feature and ignores clear requests
7

SYNOPSIS

9       int usb_ep_set_wedge(struct usb_ep * ep);
10

ARGUMENTS

12       ep
13           the endpoint being wedged
14

DESCRIPTION

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

AUTHOR

23       David Brownell <dbrownell@users.sourceforge.net>
24           Author.
25
27Kernel Hackers Manual 3.10         June 2019               USB_EP_SET_WEDGE(9)
Impressum