aboutsummaryrefslogtreecommitdiff
path: root/plugins/option/mm-plugin-option.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/option/mm-plugin-option.c')
-rw-r--r--plugins/option/mm-plugin-option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/option/mm-plugin-option.c b/plugins/option/mm-plugin-option.c
index 251e039f..aa6ddc3e 100644
--- a/plugins/option/mm-plugin-option.c
+++ b/plugins/option/mm-plugin-option.c
@@ -54,7 +54,7 @@ grab_port (MMPlugin *self,
MMPortProbe *probe,
GError **error)
{
- MMAtPortFlag pflags = MM_AT_PORT_FLAG_NONE;
+ MMPortSerialAtFlag pflags = MM_PORT_SERIAL_AT_FLAG_NONE;
GUdevDevice *port;
gint usbif;
@@ -75,7 +75,7 @@ grab_port (MMPlugin *self,
*/
usbif = g_udev_device_get_property_as_int (port, "ID_USB_INTERFACE_NUM");
if (usbif == 0)
- pflags = MM_AT_PORT_FLAG_PRIMARY | MM_AT_PORT_FLAG_PPP;
+ pflags = MM_PORT_SERIAL_AT_FLAG_PRIMARY | MM_PORT_SERIAL_AT_FLAG_PPP;
return mm_base_modem_grab_port (modem,
mm_port_probe_get_port_subsys (probe),