aboutsummaryrefslogtreecommitdiff
path: root/plugins/cinterion/mm-plugin-cinterion.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-07-27 10:20:09 +0200
committerDan Williams <dcbw@redhat.com>2018-08-10 04:19:13 +0000
commit86f840d97bbc458adf6f2217783ca9bc6b81d5d0 (patch)
tree61792abe072903b7565c99680f248e3f2e6f5616 /plugins/cinterion/mm-plugin-cinterion.c
parent9c0a557f918abd3e94702753ed0479494bcd2f90 (diff)
port-probe: explicitly report GPS port type if port flagged
And remove all custom logic from all plugins that were doing just that.
Diffstat (limited to 'plugins/cinterion/mm-plugin-cinterion.c')
-rw-r--r--plugins/cinterion/mm-plugin-cinterion.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/cinterion/mm-plugin-cinterion.c b/plugins/cinterion/mm-plugin-cinterion.c
index 4e097c02..bdca6188 100644
--- a/plugins/cinterion/mm-plugin-cinterion.c
+++ b/plugins/cinterion/mm-plugin-cinterion.c
@@ -152,14 +152,6 @@ grab_port (MMPlugin *self,
mm_port_probe_get_port_subsys (probe),
mm_port_probe_get_port_name (probe));
pflags = MM_PORT_SERIAL_AT_FLAG_PPP;
- } else if (mm_kernel_device_get_property_as_boolean (mm_port_probe_peek_port (probe),
- "ID_MM_PORT_TYPE_GPS")) {
- mm_dbg ("(%s/%s)' Port flagged as GPS",
- mm_port_probe_get_port_subsys (probe),
- mm_port_probe_get_port_name (probe));
- /* Not an AT port, but the port to grab GPS traces */
- g_warn_if_fail (ptype == MM_PORT_TYPE_UNKNOWN);
- ptype = MM_PORT_TYPE_GPS;
}
return mm_base_modem_grab_port (modem,