Skip to content

Commit f055d17

Browse files
committed
drivers: usb: fix missing code
1 parent 5333978 commit f055d17

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/usb/core/message.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1770,6 +1770,10 @@ int usb_set_configuration(struct usb_device *dev, int configuration)
17701770
goto free_interfaces;
17711771
}
17721772

1773+
dev->actconfig = cp;
1774+
if (cp)
1775+
usb_notify_config_device(dev);
1776+
17731777
/* Initialize the new interface structures and the
17741778
* hc/hcd/usbcore interface/endpoint state.
17751779
*/

0 commit comments

Comments
 (0)