diff options
author | Dan Williams <dcbw@redhat.com> | 2012-01-09 13:18:21 -0600 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:48 +0100 |
commit | ded020efeb25b88b0c80319e5279936ec03c0b63 (patch) | |
tree | 8ee78a94e5aaeb0a8b658aec6053cddf22876cd4 /plugins/mm-plugin-gobi.c | |
parent | c697027cee5dbfb9f90a5c3c6be85da71a4bcf5d (diff) |
gobi: ensure QCDM ports are correctly grabbed
Need to suggest that it's QCDM since the MMPortProbe stuff
doesn't get passed through to mm_base_modem_grab_port() so
we can't detect QCDM ports automatically there.
Diffstat (limited to 'plugins/mm-plugin-gobi.c')
-rw-r--r-- | plugins/mm-plugin-gobi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/mm-plugin-gobi.c b/plugins/mm-plugin-gobi.c index e70278b8..767e6ce0 100644 --- a/plugins/mm-plugin-gobi.c +++ b/plugins/mm-plugin-gobi.c @@ -65,7 +65,9 @@ grab_port (MMPluginBase *base, if (!mm_base_modem_grab_port (existing ? existing : modem, subsys, name, - MM_PORT_TYPE_UNKNOWN)) { + (mm_port_probe_is_qcdm (probe) ? + MM_PORT_TYPE_QCDM : + MM_PORT_TYPE_UNKNOWN))) { if (modem) g_object_unref (modem); return NULL; |