From 86f840d97bbc458adf6f2217783ca9bc6b81d5d0 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 27 Jul 2018 10:20:09 +0200 Subject: port-probe: explicitly report GPS port type if port flagged And remove all custom logic from all plugins that were doing just that. --- plugins/cinterion/mm-plugin-cinterion.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'plugins/cinterion/mm-plugin-cinterion.c') 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, -- cgit v1.2.3-70-g09d2