huawei,bearer: avoid using MM_CORE_ERROR_CANCELLED
This commit is contained in:
@@ -333,9 +333,7 @@ connect_3gpp_context_step (GTask *task)
|
|||||||
NULL, /* Do not care the AT response */
|
NULL, /* Do not care the AT response */
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
g_task_return_new_error (task,
|
g_task_return_new_error (task, G_IO_ERROR, G_IO_ERROR_CANCELLED,
|
||||||
MM_CORE_ERROR,
|
|
||||||
MM_CORE_ERROR_CANCELLED,
|
|
||||||
"Huawei connection operation has been cancelled");
|
"Huawei connection operation has been cancelled");
|
||||||
g_object_unref (task);
|
g_object_unref (task);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user