aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2014-06-22 17:29:50 +0200
committerAleksander Morgado <aleksander@aleksander.es>2014-06-23 18:12:27 +0200
commit7c347aa3ec1d5540c23c20dcb5edd3c6ccb28c24 (patch)
treed60adda1f391e4ae112f057853d7f07426ad5f89 /src/mm-plugin.c
parent7752c9920d83059836d010a61e44daa4232c4c65 (diff)
port: store parent sysfs path in each MMPort
Diffstat (limited to 'src/mm-plugin.c')
-rw-r--r--src/mm-plugin.c2
1 files changed, 2 insertions, 0 deletions
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)) {