broadband-modem-qmi: peek QMI port from any subsystem

No longer has to be bound to the USB subsystem.
This commit is contained in:
Aleksander Morgado
2020-10-24 10:38:40 +02:00
parent b8cbc87249
commit e01c8b379c

View File

@@ -197,7 +197,7 @@ mm_broadband_modem_qmi_peek_port_qmi (MMBroadbandModemQmi *self)
g_assert (MM_IS_BROADBAND_MODEM_QMI (self));
qmi_ports = mm_base_modem_find_ports (MM_BASE_MODEM (self),
MM_PORT_SUBSYS_USB,
MM_PORT_SUBSYS_UNKNOWN,
MM_PORT_TYPE_QMI,
NULL);