From fc88c53fadf71ba032ecaac1a77a20cadd9935c5 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 26 Dec 2011 17:12:47 +0100 Subject: iridium: handle Motorola-branded Iridium modems --- plugins/mm-plugin-iridium.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'plugins/mm-plugin-iridium.c') diff --git a/plugins/mm-plugin-iridium.c b/plugins/mm-plugin-iridium.c index 8b94161f..3501a267 100644 --- a/plugins/mm-plugin-iridium.c +++ b/plugins/mm-plugin-iridium.c @@ -89,6 +89,17 @@ check_vendor_iridium (MMPluginBaseSupportsTask *task) if (strstr (probed_vendor_strdown, "iridium")) { mm_dbg ("Iridium RS232 modem detected"); probed_vendor_correct = TRUE; + } else if (strstr (probed_vendor_strdown, "motorola")) { + const gchar *probed_product; + gchar *probed_product_strdown; + + probed_product = mm_plugin_base_supports_task_get_probed_product (task); + probed_product_strdown = g_utf8_strdown (probed_product, -1); + if (strstr (probed_product_strdown, "satellite")) { + mm_dbg ("Motorola/Iridium RS232 modem detected"); + probed_vendor_correct = TRUE; + } + g_free (probed_product_strdown); } g_free (probed_vendor_strdown); -- cgit v1.2.3-70-g09d2