From def5c76cf98f7416f3e8f17529bebbf1b2cbe0d5 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 9 Oct 2019 10:48:36 +0200 Subject: [PATCH] huawei,bearer: avoid using MM_CORE_ERROR_CANCELLED --- plugins/huawei/mm-broadband-bearer-huawei.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/huawei/mm-broadband-bearer-huawei.c b/plugins/huawei/mm-broadband-bearer-huawei.c index c2830e12..01a46c61 100644 --- a/plugins/huawei/mm-broadband-bearer-huawei.c +++ b/plugins/huawei/mm-broadband-bearer-huawei.c @@ -333,9 +333,7 @@ connect_3gpp_context_step (GTask *task) NULL, /* Do not care the AT response */ NULL); - g_task_return_new_error (task, - MM_CORE_ERROR, - MM_CORE_ERROR_CANCELLED, + g_task_return_new_error (task, G_IO_ERROR, G_IO_ERROR_CANCELLED, "Huawei connection operation has been cancelled"); g_object_unref (task); return;