huawei: avoid attempting to complete GTask twice

This commit is contained in:
Aleksander Morgado
2020-02-26 13:12:20 +01:00
parent fd052c8e58
commit 5da33df35b
-1
View File
@@ -261,7 +261,6 @@ huawei_custom_init_step (GTask *task)
if (g_task_return_error_if_cancelled (task)) {
mm_dbg ("(Huawei) no need to keep on running custom init in (%s)",
mm_port_get_device (MM_PORT (ctx->port)));
g_task_return_boolean (task, TRUE);
g_object_unref (task);
return;
}