diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-30 20:18:05 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-20 16:26:55 +0200 |
commit | 9512eda21d7392bcb80cfd4dae6708fb1c92907e (patch) | |
tree | 1e636c2317f3f5e8152314be25af0a637cb7c536 /src/mm-plugin.c | |
parent | 7b13b5e1c02bca89a317fce57abc9b5faa115ee7 (diff) |
plugin: don't apply product ID filters if no vendor ID was retrieved
Diffstat (limited to 'src/mm-plugin.c')
-rw-r--r-- | src/mm-plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-plugin.c b/src/mm-plugin.c index 114c5c80..c4f12e5c 100644 --- a/src/mm-plugin.c +++ b/src/mm-plugin.c @@ -249,7 +249,7 @@ apply_pre_probing_filters (MMPlugin *self, * that is the case, filter by vendor+product ID pair */ if (self->priv->product_ids) { /* If we didn't get any product: filtered */ - if (!product) + if (!product || !vendor) product_filtered = TRUE; else { for (i = 0; self->priv->product_ids[i].l; i++) |