broadband-modem-option: fix task completion on parent URC setup error

This commit is contained in:
Aleksander Morgado
2024-04-04 09:29:45 +00:00
parent b5ca95e153
commit 17ab07c05a
@@ -985,6 +985,7 @@ parent_enable_unsolicited_events_ready (MMIfaceModem3gpp *self,
if (!iface_modem_3gpp_parent->enable_unsolicited_events_finish (self, res, &error)) {
g_task_return_error (task, error);
g_object_unref (task);
return;
}
/* Our own enable now */