iface-modem-3gpp: use correct finish() method to complete user registration

https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/131
This commit is contained in:
Aleksander Morgado
2019-06-24 10:41:20 +02:00
parent 1d52e5c24d
commit d1b716abaf
+1 -1
View File
@@ -497,7 +497,7 @@ handle_register_ready (MMIfaceModem3gpp *self,
{
GError *error = NULL;
if (!MM_IFACE_MODEM_3GPP_GET_INTERFACE (self)->register_in_network_finish (self, res,&error))
if (!mm_iface_modem_3gpp_register_in_network_finish (self, res, &error))
g_dbus_method_invocation_take_error (ctx->invocation, error);
else
mm_gdbus_modem3gpp_complete_register (ctx->skeleton, ctx->invocation);