aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-04-04 14:37:42 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-04-08 16:35:09 +0200
commita2b57474dc60759416bc2a5a8808806fd3317c01 (patch)
treebae0ce8d82d975f7b4237ed1c46b6b9515206735 /plugins
parentbac9ed21cbe806280ff999facbd02935ccdefaba (diff)
error-helpers: port to use object logging
Diffstat (limited to 'plugins')
-rw-r--r--plugins/icera/mm-broadband-bearer-icera.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/icera/mm-broadband-bearer-icera.c b/plugins/icera/mm-broadband-bearer-icera.c
index b0c996de..567d12dc 100644
--- a/plugins/icera/mm-broadband-bearer-icera.c
+++ b/plugins/icera/mm-broadband-bearer-icera.c
@@ -483,8 +483,11 @@ ier_query_ready (MMBaseModem *modem,
GAsyncResult *res,
GTask *task)
{
- const gchar *response;
- GError *activation_error = NULL;
+ MMBroadbandBearerIcera *self;
+ const gchar *response;
+ GError *activation_error = NULL;
+
+ self = g_task_get_source_object (task);
response = mm_base_modem_at_command_full_finish (modem, res, NULL);
if (response) {
@@ -497,8 +500,7 @@ ier_query_ready (MMBaseModem *modem,
* 33 - Requested service option not subscribed
*/
if (nw_activation_err == 27 || nw_activation_err == 33)
- activation_error = mm_mobile_equipment_error_for_code (
- MM_MOBILE_EQUIPMENT_ERROR_GPRS_SERVICE_OPTION_NOT_SUBSCRIBED);
+ activation_error = mm_mobile_equipment_error_for_code (MM_MOBILE_EQUIPMENT_ERROR_GPRS_SERVICE_OPTION_NOT_SUBSCRIBED, self);
}
}