usb_report_filter: check device ds

Make sure we actually can report devices on USB driver device updates.

related to #2527
This commit is contained in:
Sebastian Sumpf 2017-09-25 15:53:28 +02:00 committed by Christian Helmuth
parent 7c269cb933
commit 754d1bd4a3
1 changed files with 2 additions and 0 deletions

View File

@ -299,6 +299,8 @@ class Usb_filter::Device_registry
{
using namespace Genode;
if (!_devices_rom.valid()) return;
/*
* XXX it might happen that the device list has changed after we are
* waiting for the usb_drv_config update