port: store parent sysfs path in each MMPort
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user