ports: rename 'MMAtSerialPort' to 'MMPortSerialAt'
This commit is contained in:
@@ -108,14 +108,14 @@ grab_port (MMPlugin *self,
|
||||
GError **error)
|
||||
{
|
||||
MMPortType ptype;
|
||||
MMAtPortFlag pflags = MM_AT_PORT_FLAG_NONE;
|
||||
MMPortSerialAtFlag pflags = MM_PORT_SERIAL_AT_FLAG_NONE;
|
||||
|
||||
ptype = mm_port_probe_get_port_type (probe);
|
||||
|
||||
/* Always prefer the ttyACM port as PRIMARY AT port */
|
||||
if (ptype == MM_PORT_TYPE_AT &&
|
||||
g_str_has_prefix (mm_port_probe_get_port_name (probe), "ttyACM")) {
|
||||
pflags = MM_AT_PORT_FLAG_PRIMARY;
|
||||
pflags = MM_PORT_SERIAL_AT_FLAG_PRIMARY;
|
||||
}
|
||||
|
||||
return mm_base_modem_grab_port (modem,
|
||||
|
||||
Reference in New Issue
Block a user