XHCI pass pdevice->config_desc.config_value to xhci_pdevice_setup_set_config as the preferred configuration
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user