diff options
-rw-r--r-- | drivers/usb/gadget/composite.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index 46a6508..cf7a5cf 100644 --- a/drivers/usb/gadget/composite.c +++ b/drivers/usb/gadget/composite.c @@ -484,6 +484,8 @@ static int set_config(struct usb_composite_dev *cdev, if (!f) break; + if (f->hidden) + continue; /* * Record which endpoints are used by the function. This is used |