diff options
author | Aleksander Morgado <aleksander@gnu.org> | 2011-09-15 23:33:54 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:21 +0100 |
commit | afd386738d1ff74e578bd95433d089a9744c5b64 (patch) | |
tree | 21a7a0f5ba7b43af461dd07c945d22edf252e30b /src/main.c | |
parent | 0646fc9d99007dd4182a1d941d226305ba0774ea (diff) |
plugin-base: improve the logic to check whether vendor or product probing needed
If the plugin does a Vendor ID check and it passes, it doesn't need Vendor
string probing.
If the plugin does a Vendor ID check and it fails:
- If Vendor strings reported, it needs Vendor probing.
- If Vendor strings not reported, fail as unsupported.
If the plugin does a Product ID check and it passes, it doesn't need Product
string probing.
If the plugin does a Product ID check and it fails:
- If Product strings reported, it needs Product probing.
- If Product strings not reported, fail as unsupported.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions