ublox: fix calling setup_unsolicited_events_finish()

This commit is contained in:
Aleksander Morgado
2019-09-23 18:08:38 +02:00
parent a1148f878b
commit dcf50efdd5

View File

@@ -1208,8 +1208,8 @@ parent_voice_setup_unsolicited_events_ready (MMIfaceModemVoice *self,
{
GError *error = NULL;
if (!iface_modem_voice_parent->cleanup_unsolicited_events_finish (self, res, &error)) {
mm_warn ("Couldn't cleanup parent voice unsolicited events: %s", error->message);
if (!iface_modem_voice_parent->setup_unsolicited_events_finish (self, res, &error)) {
mm_warn ("Couldn't setup parent voice unsolicited events: %s", error->message);
g_error_free (error);
}