From 7c347aa3ec1d5540c23c20dcb5edd3c6ccb28c24 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Sun, 22 Jun 2014 17:29:50 +0200 Subject: port: store parent sysfs path in each MMPort --- src/mm-plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mm-plugin.c') diff --git a/src/mm-plugin.c b/src/mm-plugin.c index 4a8031ec..1e9512af 100644 --- a/src/mm-plugin.c +++ b/src/mm-plugin.c @@ -909,6 +909,7 @@ mm_plugin_create_modem (MMPlugin *self, grabbed = mm_base_modem_grab_port (modem, mm_port_probe_get_port_subsys (probe), mm_port_probe_get_port_name (probe), + mm_port_probe_get_parent_path (probe), mm_port_probe_get_port_type (probe), MM_PORT_SERIAL_AT_FLAG_NONE, &inner_error); @@ -929,6 +930,7 @@ mm_plugin_create_modem (MMPlugin *self, if (!mm_base_modem_grab_port (modem, "virtual", virtual_ports[i], + NULL, MM_PORT_TYPE_AT, MM_PORT_SERIAL_AT_FLAG_NONE, &inner_error)) { -- cgit v1.2.3-70-g09d2