libmm-glib: fix mm_manager_scan() operation
The reporting of the operation result was reversed in the async method.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user