Kernel/USB: Copy device configurations when copying devices

This commit is contained in:
Hendiadyoin1 2023-08-31 16:47:52 +02:00 committed by Andrew Kaster
parent 4f46fb9891
commit d39acfb908
Notes: sideshowbarker 2024-07-16 22:18:54 +09:00

View file

@ -69,6 +69,7 @@ Device::Device(Device const& device, NonnullOwnPtr<ControlPipe> default_pipe)
, m_device_speed(device.speed())
, m_address(device.address())
, m_device_descriptor(device.device_descriptor())
, m_configurations(device.configurations())
, m_controller(device.controller())
, m_default_pipe(move(default_pipe))
{