port-probe: don't probe product string if vendor string probing failed
This commit is contained in:
@@ -121,7 +121,8 @@ mm_port_probe_set_result_at_vendor (MMPortProbe *self,
|
||||
} else {
|
||||
mm_dbg ("(%s) couldn't probe for vendor string", self->priv->name);
|
||||
self->priv->vendor = NULL;
|
||||
self->priv->flags |= MM_PORT_PROBE_AT_VENDOR;
|
||||
self->priv->product = NULL;
|
||||
self->priv->flags |= (MM_PORT_PROBE_AT_VENDOR | MM_PORT_PROBE_AT_PRODUCT);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user