port-probe: explicitly report GPS port type if port flagged
And remove all custom logic from all plugins that were doing just that.
This commit is contained in:
committed by
Dan Williams
parent
9c0a557f91
commit
86f840d97b
@@ -1596,6 +1596,9 @@ mm_port_probe_get_port_type (MMPortProbe *self)
|
||||
self->priv->is_at)
|
||||
return MM_PORT_TYPE_AT;
|
||||
|
||||
if (self->priv->is_gps)
|
||||
return MM_PORT_TYPE_GPS;
|
||||
|
||||
return MM_PORT_TYPE_UNKNOWN;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user