mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
qemu-usb: consume device report during controller construction
Initially parse the USB devices report after the signal handler is registered, do not rely on a signal to be triggered (issue #1788). Fixes #4206
This commit is contained in:
parent
a58473dece
commit
19a7997734
@ -1040,6 +1040,7 @@ struct Usb_devices : List<Usb_host_device>
|
|||||||
: _ep(ep), _env(env), _alloc(alloc)
|
: _ep(ep), _env(env), _alloc(alloc)
|
||||||
{
|
{
|
||||||
_devices_rom.sigh(_device_dispatcher);
|
_devices_rom.sigh(_device_dispatcher);
|
||||||
|
_devices_update();
|
||||||
}
|
}
|
||||||
|
|
||||||
void destroy()
|
void destroy()
|
||||||
|
Loading…
Reference in New Issue
Block a user