libmm-glib: fix mm_manager_scan() operation

The reporting of the operation result was reversed in the async method.
This commit is contained in:
Aleksander Morgado
2018-12-07 17:00:36 +01:00
parent 1ef58be792
commit 46d627ff83
+1 -1
View File
@@ -429,7 +429,7 @@ scan_devices_ready (MmGdbusOrgFreedesktopModemManager1 *manager_iface_proxy,
{
GError *error = NULL;
if (mm_gdbus_org_freedesktop_modem_manager1_call_scan_devices_finish (
if (!mm_gdbus_org_freedesktop_modem_manager1_call_scan_devices_finish (
manager_iface_proxy,
res,
&error))