broadband-modem-qmi: allow lookup of QMI for data without SIO port

This commit is contained in:
Aleksander Morgado
2021-02-25 14:13:03 +01:00
parent 381e2f382b
commit aba237df4e
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -286,7 +286,7 @@ peek_port_qmi_for_data (MMBroadbandModemQmi *self,
MM_CORE_ERROR_NOT_FOUND,
"Couldn't find associated QMI port for 'net/%s'",
mm_port_get_device (data));
else
else if (out_sio_port)
*out_sio_port = QMI_SIO_PORT_NONE;
return found;