aboutsummaryrefslogtreecommitdiff
path: root/plugins/novatel/mm-broadband-modem-novatel-lte.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/novatel/mm-broadband-modem-novatel-lte.c')
-rw-r--r--plugins/novatel/mm-broadband-modem-novatel-lte.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/novatel/mm-broadband-modem-novatel-lte.c b/plugins/novatel/mm-broadband-modem-novatel-lte.c
index 0db1686..8cb127a 100644
--- a/plugins/novatel/mm-broadband-modem-novatel-lte.c
+++ b/plugins/novatel/mm-broadband-modem-novatel-lte.c
@@ -376,7 +376,9 @@ load_current_bands_finish (MMIfaceModem *self,
GAsyncResult *res,
GError **error)
{
- /* Never fails */
+ if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error))
+ return NULL;
+
return (GArray *) g_array_ref (g_simple_async_result_get_op_res_gpointer (
G_SIMPLE_ASYNC_RESULT (res)));
}