aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/telit/mm-modem-helpers-telit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/telit/mm-modem-helpers-telit.c b/plugins/telit/mm-modem-helpers-telit.c
index 767548ca..c2061fcd 100644
--- a/plugins/telit/mm-modem-helpers-telit.c
+++ b/plugins/telit/mm-modem-helpers-telit.c
@@ -943,7 +943,8 @@ mm_telit_model_from_revision (const gchar *revision)
{"40.", MM_TELIT_MODEL_LN920}
};
- g_assert (revision);
+ if (!revision)
+ return MM_TELIT_MODEL_DEFAULT;
for (i = 0; i < G_N_ELEMENTS (revision_to_model_map); ++i) {
if (g_str_has_prefix (revision, revision_to_model_map[i].revision_prefix))