diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-12-26 17:12:47 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-02-17 13:25:03 +0100 |
commit | fc88c53fadf71ba032ecaac1a77a20cadd9935c5 (patch) | |
tree | a41d1e5222e92e065c31d74a0749b0de5bfe5786 /plugins/mm-plugin-iridium.c | |
parent | 8b1016f4e1de4f058ce93c4dec1438cf8138317e (diff) |
iridium: handle Motorola-branded Iridium modems
Diffstat (limited to 'plugins/mm-plugin-iridium.c')
-rw-r--r-- | plugins/mm-plugin-iridium.c | 11 |
1 files changed, 11 insertions, 0 deletions
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); |