aboutsummaryrefslogtreecommitdiff
path: root/plugins/huawei/mm-plugin-huawei.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/huawei/mm-plugin-huawei.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/huawei/mm-plugin-huawei.c')
-rw-r--r--plugins/huawei/mm-plugin-huawei.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/huawei/mm-plugin-huawei.c b/plugins/huawei/mm-plugin-huawei.c
index 0a3c38bc..b1c818e6 100644
--- a/plugins/huawei/mm-plugin-huawei.c
+++ b/plugins/huawei/mm-plugin-huawei.c
@@ -542,11 +542,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 (port, "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));
- port_type = MM_PORT_TYPE_GPS;
} else {
gchar *str;