diff --git a/kernel/device/usb/xhci.c b/kernel/device/usb/xhci.c index 1879470..37e3cc1 100644 --- a/kernel/device/usb/xhci.c +++ b/kernel/device/usb/xhci.c @@ -1229,7 +1229,7 @@ static void xhci_poll_setup_devices (struct xhci* xhci, uint64_t* lockflags) { xhci_pdevice_setup_get_info (xhci, pdevice, lockflags); xhci_pdevice_setup_get_config (xhci, pdevice, lockflags); xhci_pdevice_setup_get_config_full (xhci, pdevice, lockflags); - xhci_pdevice_setup_set_config (xhci, pdevice, 0, lockflags); + xhci_pdevice_setup_set_config (xhci, pdevice, pdevice->config_desc.config_value, lockflags); xhci_pdevice_setup_init_endpoints (xhci, pdevice, lockflags); xhci_poll_setup_init_ifs (xhci, pdevice, lockflags); }