aboutsummaryrefslogtreecommitdiff
path: root/plugins/ublox
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ublox')
-rw-r--r--plugins/ublox/mm-broadband-modem-ublox.c2
-rw-r--r--plugins/ublox/mm-modem-helpers-ublox.c3
-rw-r--r--plugins/ublox/mm-modem-helpers-ublox.h1
-rw-r--r--plugins/ublox/tests/test-modem-helpers-ublox.c2
4 files changed, 5 insertions, 3 deletions
diff --git a/plugins/ublox/mm-broadband-modem-ublox.c b/plugins/ublox/mm-broadband-modem-ublox.c
index d5ce452a..67474d2b 100644
--- a/plugins/ublox/mm-broadband-modem-ublox.c
+++ b/plugins/ublox/mm-broadband-modem-ublox.c
@@ -690,7 +690,7 @@ load_supported_modes_finish (MMIfaceModem *self,
if (!(combinations = mm_ublox_parse_urat_test_response (response, error)))
return FALSE;
- if (!(combinations = mm_ublox_filter_supported_modes (mm_iface_modem_get_model (self), combinations, error)))
+ if (!(combinations = mm_ublox_filter_supported_modes (mm_iface_modem_get_model (self), combinations, self, error)))
return FALSE;
/* Decide and store which combination to apply when ANY requested */
diff --git a/plugins/ublox/mm-modem-helpers-ublox.c b/plugins/ublox/mm-modem-helpers-ublox.c
index df6b6a26..fde9c962 100644
--- a/plugins/ublox/mm-modem-helpers-ublox.c
+++ b/plugins/ublox/mm-modem-helpers-ublox.c
@@ -980,6 +980,7 @@ supported_modes_per_model (const gchar *model)
GArray *
mm_ublox_filter_supported_modes (const gchar *model,
GArray *combinations,
+ gpointer logger,
GError **error)
{
MMModemModeCombination mode;
@@ -1002,7 +1003,7 @@ mm_ublox_filter_supported_modes (const gchar *model,
all = g_array_sized_new (FALSE, FALSE, sizeof (MMModemModeCombination), 1);
g_array_append_val (all, mode);
- filtered = mm_filter_supported_modes (all, combinations);
+ filtered = mm_filter_supported_modes (all, combinations, logger);
g_array_unref (all);
g_array_unref (combinations);
diff --git a/plugins/ublox/mm-modem-helpers-ublox.h b/plugins/ublox/mm-modem-helpers-ublox.h
index 121a9839..0b01b3df 100644
--- a/plugins/ublox/mm-modem-helpers-ublox.h
+++ b/plugins/ublox/mm-modem-helpers-ublox.h
@@ -115,6 +115,7 @@ gboolean mm_ublox_get_support_config (const gchar *model,
GArray *mm_ublox_filter_supported_modes (const gchar *model,
GArray *combinations,
+ gpointer logger,
GError **error);
/*****************************************************************************/
diff --git a/plugins/ublox/tests/test-modem-helpers-ublox.c b/plugins/ublox/tests/test-modem-helpers-ublox.c
index 8f2f3664..0aa20f2b 100644
--- a/plugins/ublox/tests/test-modem-helpers-ublox.c
+++ b/plugins/ublox/tests/test-modem-helpers-ublox.c
@@ -294,7 +294,7 @@ compare_combinations (const gchar *response,
g_assert_no_error (error);
g_assert (combinations);
- combinations = mm_ublox_filter_supported_modes (model, combinations, &error);
+ combinations = mm_ublox_filter_supported_modes (model, combinations, NULL, &error);
g_assert_no_error (error);
g_assert (combinations);