mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
parent
65837e8ae9
commit
8ccac9a3bb
@ -240,7 +240,7 @@ namespace Pci {
|
||||
|
||||
enum { DONT_CHECK_PROGIF = 8 };
|
||||
/* if class/subclass don't match - deny */
|
||||
if ((class_sub_prog ^ class_code) >> DONT_CHECK_PROGIF)
|
||||
if (class_sub_prog && (class_sub_prog ^ class_code) >> DONT_CHECK_PROGIF)
|
||||
return;
|
||||
|
||||
/* if this bdf is used by some policy - deny */
|
||||
|
Loading…
Reference in New Issue
Block a user