mirror of
https://github.com/gnif/vendor-reset.git
synced 2026-02-10 19:32:42 +01:00
[core] fixed bad mathch on PCI_ANY_ID
This commit is contained in:
@@ -30,7 +30,7 @@ struct vendor_reset_cfg * vendor_reset_cfg_find(unsigned int vendor,
|
|||||||
if (cfg->vendor != vendor)
|
if (cfg->vendor != vendor)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (device == PCI_ANY_ID || device == cfg->device)
|
if (cfg->device == PCI_ANY_ID || cfg->device == device)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user