aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-qmi.c
diff options
context:
space:
mode:
authorLukas Voegl <lvoegl@tdt.de>2024-11-22 15:53:33 +0100
committerLukas Voegl <lvoegl@tdt.de>2025-04-25 09:37:16 +0200
commit436081648b3587096683bd3ba4d219d16f14efb5 (patch)
tree4d134aeef271bd970c527dadfd611d05fec9903c /src/mm-port-qmi.c
parent39123f964ba6f359987f22d89317a842d8f1d528 (diff)
api,modem: new 'IgnoredPorts' property
Expose a new list of 'IgnoredPorts' via D-Bus and therefore remove the use of `MM_MODEM_PORT_TYPE_IGNORED` Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
Diffstat (limited to 'src/mm-port-qmi.c')
-rw-r--r--src/mm-port-qmi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm-port-qmi.c b/src/mm-port-qmi.c
index 80bde14b..6e198b5b 100644
--- a/src/mm-port-qmi.c
+++ b/src/mm-port-qmi.c
@@ -2842,6 +2842,7 @@ mm_port_qmi_new (const gchar *name,
return MM_PORT_QMI (g_object_new (MM_TYPE_PORT_QMI,
MM_PORT_DEVICE, name,
MM_PORT_SUBSYS, subsys,
+ MM_PORT_GROUP, MM_PORT_GROUP_USED,
MM_PORT_TYPE, MM_PORT_TYPE_QMI,
NULL));
}
@@ -2855,6 +2856,7 @@ mm_port_qmi_new_from_node (const gchar *name,
"node", node,
MM_PORT_DEVICE, name,
MM_PORT_SUBSYS, MM_PORT_SUBSYS_QRTR,
+ MM_PORT_GROUP, MM_PORT_GROUP_USED,
MM_PORT_TYPE, MM_PORT_TYPE_QMI,
NULL));
}