base-bearer: fix connection reload completion

If we called the class reload_connection_status() method, we should
call the class reload_connection_status_finish() as well.
This commit is contained in:
Aleksander Morgado
2021-05-23 15:51:51 +02:00
parent 29a1c24538
commit 8cfc2a237a

View File

@@ -1509,14 +1509,6 @@ mm_base_bearer_sync_finish (MMBaseBearer *self,
return g_task_propagate_boolean (G_TASK (res), error);
}
static gboolean
reload_connection_status_finish (MMBaseBearer *self,
GAsyncResult *res,
GError **error)
{
return g_task_propagate_boolean (G_TASK (res), error);
}
static void
reload_connection_status_ready (MMBaseBearer *self,
GAsyncResult *res,
@@ -1527,7 +1519,7 @@ reload_connection_status_ready (MMBaseBearer *self,
ctx = g_task_get_task_data (task);
reload_connection_status_finish (self, res, &error);
MM_BASE_BEARER_GET_CLASS (self)->reload_connection_status_finish (self, res, &error);
if (error)
mm_obj_warn (self, "reloading connection status failed: %s", error->message);