trivial: quiet the modem manager error about unable to probe

We don't show messages in the logs about unable to probe other
device types by default, MM should be no different.
This gets rid of this message coming up every fwupd startup on a
EM05-G:
"failed to probe MM device: modem cannot be put in programming mode"
This commit is contained in:
Mario Limonciello 2022-06-23 14:43:58 -05:00 committed by Mario Limonciello
parent 8cb70497ac
commit 030a0d51c1

View File

@ -99,7 +99,7 @@ fu_plugin_mm_udev_device_ports_timeout(gpointer user_data)
fu_device_get_physical_id(FU_DEVICE(priv->shadow_device)));
if (dev != NULL) {
if (!fu_device_probe(FU_DEVICE(dev), &error)) {
g_warning("failed to probe MM device: %s", error->message);
g_debug("failed to probe MM device: %s", error->message);
} else {
fu_plugin_device_add(plugin, FU_DEVICE(dev));
}